aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-01 11:31:23 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-01 11:31:23 +1000
commitdc3634dc9410cfdd4c3e4a98e807b0f03d61388b (patch)
tree6e579f56fe75f8a5303867227c0bd2bd387f03a2 /configure.ac
parent696b4df1c6cb0360b77515717a3e7cbdcf74337a (diff)
Add posix macros in configure.ac, not in Makefile, so that they will be honored by the configure tests
darcs-hash:20060801013123-ac50b-0c561ad5afd6e71230e29a25d467ed63c47b9f17.gz
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 0fdc27d3..2e8d4cce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,6 +72,8 @@ for i in /usr/pkg /sw /opt /opt/local; do
done
+CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L"
+
AC_SUBST( optbindirs, $optbindirs )
# Tell autoconf to create config.h header