summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorIdar Tollefsen <itollefs@cisco.com>2012-01-01 16:38:08 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-06-27 21:08:28 +0100
commit7b80441f9d4ec1efb220875795d556370b022204 (patch)
tree154a889ee5ec8908904870df0155da462a95901c /m4
parentd6e639151890a2ef35f2e3dfa23805bf943b0fd5 (diff)
downloadgstreamer-7b80441f9d4ec1efb220875795d556370b022204.tar.gz
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
Diffstat (limited to 'm4')
-rw-r--r--m4/check-checks.m42
1 files changed, 1 insertions, 1 deletions
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])