Remove obsolescent AC_HEADER_STDC macro
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 Dec 2011 20:55:04 +0000 (15:55 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 27 Dec 2011 20:55:04 +0000 (15:55 -0500)
We only used the resulting define in one place, and really,
these headers just have to be around or its not worth trying.

configure.ac
glib/tests/hash.c

index 78d6d31..fb1a984 100644 (file)
@@ -561,9 +561,6 @@ AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
     CFLAGS=$glib_save_CFLAGS
     AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])))
 
-# Checks for header files.
-AC_HEADER_STDC
-
 # Checks for library functions.
 AC_FUNC_VPRINTF
 AC_FUNC_ALLOCA
index 716bfa2..492e89f 100644 (file)
 #  include <config.h>
 #endif
 
-#if STDC_HEADERS
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#endif
 
 #include <glib.h>