mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
Remove obsolescent AC_HEADER_STDC macro
We only used the resulting define in one place, and really, these headers just have to be around or its not worth trying.
This commit is contained in:
parent
49a4de3ea4
commit
4576a459fc
@ -561,9 +561,6 @@ AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
|
|||||||
CFLAGS=$glib_save_CFLAGS
|
CFLAGS=$glib_save_CFLAGS
|
||||||
AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])))
|
AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])))
|
||||||
|
|
||||||
# Checks for header files.
|
|
||||||
AC_HEADER_STDC
|
|
||||||
|
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
AC_FUNC_VPRINTF
|
AC_FUNC_VPRINTF
|
||||||
AC_FUNC_ALLOCA
|
AC_FUNC_ALLOCA
|
||||||
|
@ -32,11 +32,9 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if STDC_HEADERS
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user