diff options
author | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-12-05 00:55:16 +0000 |
---|---|---|
committer | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-12-05 00:55:16 +0000 |
commit | 8cc2017f345c5498375256973157ea1afa86409a (patch) | |
tree | d78de33d0bcb81fd02f5ebc6c431c7fe0c58c7cf /configure.ac | |
parent | 1d32532ead24125b485125c9644cf915b68016bc (diff) | |
download | protobuf-8cc2017f345c5498375256973157ea1afa86409a.tar.gz protobuf-8cc2017f345c5498375256973157ea1afa86409a.tar.bz2 protobuf-8cc2017f345c5498375256973157ea1afa86409a.zip |
Quote the AC_LANG_SOURCE to eliminate warnings introduced by autoconf 2.6.8
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4b8c5b5b..9c90ddeb 100644 --- a/configure.ac +++ b/configure.ac @@ -90,12 +90,12 @@ AS_IF([test "$with_zlib" != no], [ # First check the zlib header version. AC_COMPILE_IFELSE( - AC_LANG_PROGRAM([[ + [AC_LANG_PROGRAM([[ #include <zlib.h> #if !defined(ZLIB_VERNUM) || (ZLIB_VERNUM < 0x1204) # error zlib version too old #endif - ]], []), [ + ]], [])], [ AC_MSG_RESULT([ok (1.2.0.4 or later)]) # Also need to add -lz to the linker flags and make sure this succeeds. |