Code

Include strings.h instead of defining _BSD_SOURCE to get strcasecmp.
[sysdb.git] / configure.ac
index 95394ebd839bbd146fe90df994693d348b4c6721..85e39c36c1a440164a3e5b31950a329d1e40bf91 100644 (file)
@@ -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])