summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-10 06:31:53 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-10 06:31:53 +0000
commit392492c0f8c7b92ea96c30ed6fa02653e2919854 (patch)
tree92cd69b8ce32d4d4723647409d0626e907ae1693 /configure.in
parentb8756357f335807ff5511547b7b65a3d8a4fba7e (diff)
downloadgtk+-392492c0f8c7b92ea96c30ed6fa02653e2919854.tar.gz
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)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5a55b06f26..b005dfa49d 100644
--- a/configure.in
+++ b/configure.in
@@ -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" || \