summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2015-09-14 15:29:35 +0200
committerStefan Eissing <icing@apache.org>2015-09-14 15:29:35 +0200
commitea390af213669bbc91ac1c0ddccea2f2ce610b43 (patch)
tree00322c881268f00b95e5e760013c3adf6f1e3f9e /acinclude.m4
parentchanging r->protocol to HTTP/2 for all directly handles requests, fixing hand... (diff)
downloadapache2-ea390af213669bbc91ac1c0ddccea2f2ce610b43.tar.xz
apache2-ea390af213669bbc91ac1c0ddccea2f2ce610b43.zip
httpd compiles warning free on gcc and every new warning will be treated as an error, standard c-89 is enforced
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1702948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index f8c07aacfa..f4d34e044c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -811,7 +811,7 @@ AC_DEFUN([APACHE_ADD_GCC_CFLAG], [
AC_CACHE_CHECK([whether gcc accepts $1], ap_gcc_ckvar, [
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $1"
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([int foo() { return 0; }])],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
[ap_gcc_ckvar=yes], [ap_gcc_ckvar=no])
CFLAGS="$save_CFLAGS"
])