From 7b80441f9d4ec1efb220875795d556370b022204 Mon Sep 17 00:00:00 2001 From: Idar Tollefsen Date: Sun, 1 Jan 2012 16:38:08 +0100 Subject: build: Make sure AC_INCLUDES_DEFAULT is used Without using AC_INCLUDES_DEFAULT explicitly, certain platforms will complain that the header was found, but not usable by the compiler. This happens for instance on Solaris where certain headers are needed to pull in proper defines. Also upgrade to newer autoconf syntax and use proper quoting. https://bugzilla.gnome.org/show_bug.cgi?id=667293 --- m4/check-checks.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/check-checks.m4 b/m4/check-checks.m4 index cd996ce440..349a1b5013 100644 --- a/m4/check-checks.m4 +++ b/m4/check-checks.m4 @@ -16,7 +16,7 @@ AC_SUBST(CHECK_MICRO_VERSION) AC_SUBST(CHECK_VERSION) dnl Checks for header files and declarations -AC_CHECK_HEADERS([unistd.h sys/wait.h sys/time.h]) +AC_CHECK_HEADERS([unistd.h sys/wait.h sys/time.h], [], [], [AC_INCLUDES_DEFAULT]) AC_CHECK_FUNCS([localtime_r]) -- cgit v1.2.1