summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2009-07-02 09:07:18 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2009-07-02 09:07:18 +0000
commit16a629e446dc1d39e9521fac571ea1b40d7cb250 (patch)
tree69517556f6ce9597f2daa34f2e9f52a4342fe9da /macros
parentdc1fbcc7dae65b4811a589aba88c4bed6ccd7af4 (diff)
downloadneon-16a629e446dc1d39e9521fac571ea1b40d7cb250.tar.gz
* macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Silence warnings with autoconf
2.6x; use AC_USE_SYSTEM_EXTENSIONS. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1666 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'macros')
-rw-r--r--macros/neon.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4
index 41a8fe0..5ebc142 100644
--- a/macros/neon.m4
+++ b/macros/neon.m4
@@ -439,8 +439,10 @@ AC_DEFUN([NEON_COMMON_CHECKS], [
# These checks are done whether or not the bundled neon build
# is used.
+ifdef([AC_USE_SYSTEM_EXTENSIONS],
+[AC_USE_SYSTEM_EXTENSIONS],
+[AC_ISC_POSIX])
AC_REQUIRE([AC_PROG_CC])
-AC_REQUIRE([AC_ISC_POSIX])
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_C_CONST])
AC_REQUIRE([AC_TYPE_SIZE_T])