Set _XOPEN_SOURCE to 600 for silencing gcc on GNU/Linux.

This commit is contained in:
Romain Tartiere 2010-01-13 13:53:45 +00:00
parent 0d1000e859
commit 7f87a0180d

View file

@ -33,6 +33,8 @@ if test $ac_cv_header_endian_h = "no" -a $ac_cv_header_sys_endian_h = "no"; then
AC_MSG_ERROR(["Can't locate header endian.h."]); AC_MSG_ERROR(["Can't locate header endian.h."]);
fi fi
AC_DEFINE([_XOPEN_SOURCE], [600], [Define to 500 if Single Unix conformance is wanted, 600 for sixth revision.])
CFLAGS="$CFLAGS -std=c99" CFLAGS="$CFLAGS -std=c99"
# Checks for pkg-config modules. # Checks for pkg-config modules.