dnl # Set Default CFLAGS for GCC compatible compilers
dnl #
if test "x$GCC" = "xyes"; then
- CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE"
+ CFLAGS="$CFLAGS -Wall -std=c99 -D_GNU_SOURCE"
fi
dnl #
*-darwin*)
CFLAGS="$CFLAGS -DDARWIN"
LIBS="-framework DirectoryService $LIBS"
+ AC_DEFINE([__APPLE_USE_RFC_2292], 1, [Force OSX >= 10.7 Lion to use RFC2292 IPv6 socket options])
;;
esac
fcntl.h \
sys/fcntl.h \
sys/prctl.h \
+ sys/ptrace.h \
sys/un.h \
glob.h \
prot.h \