aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-09 19:23:24 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-09 19:24:37 -0500
commit86b8059f3484b9a67a5e5ae1a46fc5b1b3c0efae (patch)
tree8867a7e5d43e7b13343b3e82875fcd9934cba1e6 /configure.ac
parenttests: get scripts working in sandbox.sh (diff)
downloadsandbox-86b8059f3484b9a67a5e5ae1a46fc5b1b3c0efae.tar.gz
sandbox-86b8059f3484b9a67a5e5ae1a46fc5b1b3c0efae.tar.bz2
sandbox-86b8059f3484b9a67a5e5ae1a46fc5b1b3c0efae.zip
provide environ decl if system sucks and doesn't do it for usv1.3.6
URL: http://bugs.gentoo.org/258365 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Dan Coats <admin@easyshellz.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c30b454..9b23cde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,11 +73,13 @@ AC_CHECK_HEADERS_ONCE([ \
])
dnl Checks for typedefs, structures, and compiler characteristics.
+dnl Do this after all headers have been checked.
AC_C_CONST
AC_TYPE_UID_T
AC_TYPE_MODE_T
AC_TYPE_SIZE_T
AC_CHECK_TYPES([ptrdiff_t])
+AC_CHECK_DECLS_ONCE([environ])
dnl Checks for library functions.
AC_FUNC_CHOWN