From: Sebastian Harl Date: Sun, 23 Feb 2014 20:39:45 +0000 (-0800) Subject: configure: Request X/Open 7 (XSI) compliance. X-Git-Tag: sysdb-0.1.0~178 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=27e62e0de75ef36a4198171d56d7982b7cfd00cc;p=sysdb.git configure: Request X/Open 7 (XSI) compliance. This is required for strndup(). --- diff --git a/configure.ac b/configure.ac index a5226d2..ede963b 100644 --- a/configure.ac +++ b/configure.ac @@ -94,8 +94,8 @@ if test "x$enable_standards" = "xyes"; then [Define to enforce ISO/IEC 9899:1999 (C99) compliance.]) AC_DEFINE([_POSIX_C_SOURCE], 200112L, [Define to enforce IEEE 1003.1-2001 (POSIX:2001) compliance.]) - AC_DEFINE([_XOPEN_SOURCE], 600, - [Define to enforce X/Open 6 (XSI) compliance.]) + AC_DEFINE([_XOPEN_SOURCE], 700, + [Define to enforce X/Open 7 (XSI) compliance.]) AC_DEFINE([_REENTRANT], 1, [Define to enable reentrant interfaces.]) AC_DEFINE([_THREAD_SAFE], 1,