Code

store.h: Reuse the sdb_metric_store_t type for a metric's store field.
[sysdb.git] / configure.ac
index 95394ebd839bbd146fe90df994693d348b4c6721..c39c4af2fc726a3779b641954e054781a9d76430 100644 (file)
@@ -113,8 +113,8 @@ AC_ARG_ENABLE([standards],
 if test "x$enable_standards" = "xyes"; then
        AC_DEFINE([_ISOC99_SOURCE], 1,
                        [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([_POSIX_C_SOURCE], 200809L,
+                       [Define to enforce IEEE 1003.1-2008 (POSIX:2008) compliance.])
        AC_DEFINE([_XOPEN_SOURCE], 700,
                        [Define to enforce X/Open 7 (XSI) compliance.])
        AC_DEFINE([_REENTRANT], 1,
@@ -122,11 +122,6 @@ if test "x$enable_standards" = "xyes"; then
        AC_DEFINE([_THREAD_SAFE], 1,
                        [Define to enable reentrant interfaces.])
 
-       dnl GNU libc defines strcasecmp() only when using _BSD_SOURCE even though
-       dnl the function is conforming to POSIX.1-2001 as well. Let's weaken
-       dnl strict standards compliance a bit to work around this.
-       AC_DEFINE([_BSD_SOURCE], 1, [Define to enable 4.3BSD support.])
-
        for flag in -std=c99; do
                AC_MSG_CHECKING([whether $CC accepts $flag])