Check for crt_extern.h and _NSGetEnviron. Fix compilation on Darwin where
2006-12-10 Matthias Clasen <mclasen@redhat.com> * configure.in: Check for crt_extern.h and _NSGetEnviron. * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where environ is not available. (#384168, Min Sik Kim)
This commit is contained in:
committed by
Matthias Clasen
parent
b8756357f3
commit
392492c0f8
@ -728,6 +728,10 @@ else
|
||||
pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
|
||||
pixbuf_deplibs_check=`$pixbuf_libtool_config | \
|
||||
grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
|
||||
# Checks for gdkspawn
|
||||
AC_CHECK_HEADERS(crt_externs.h)
|
||||
AC_CHECK_FUNCS(_NSGetEnviron)
|
||||
|
||||
sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
|
||||
if test "x$pixbuf_deplibs_check" = "xnone" || \
|
||||
test "x$pixbuf_deplibs_check" = "xunknown" || \
|
||||
|
||||
Reference in New Issue
Block a user