about summary refs log tree commit homepage
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-18 07:17:41 +0000
committerEric Wong <e@80x24.org>2016-07-18 07:20:13 +0000
commit026d9f4d635ac360f9d349ffcb50a8252719730e (patch)
treeca626ef91094315ce785535b40432dbfe9efa092 /configure.ac
parent53030c527eaac6ea2d6acbf501569d575fef9d41 (diff)
downloadcmogstored-gl-env.tar.gz
This avoids warnings on my GNU system while still working on
FreeBSD.
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 1a94fa4..22f6d9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,8 @@ gl_WARN_ADD([-Werror=pointer-arith])
 gl_WARN_ADD([-Werror-implicit-function-declaration])
 gl_WARN_ADD([-Werror=declaration-after-statement]) dnl I hate C99 for this :P
 gl_WARN_ADD([-ggdb3],[CFLAGS])
+gl_ENVIRON
+gl_UNISTD_MODULE_INDICATOR([environ])
 AX_PTHREAD(true)
 CM_GCC_ATOMICS(true)
 AC_SYS_LARGEFILE