浏览代码

Quote the AC_LANG_SOURCE to eliminate warnings introduced by autoconf 2.6.8

liujisi@google.com 13 年之前
父节点
当前提交
8cc2017f34
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -90,12 +90,12 @@ AS_IF([test "$with_zlib" != no], [
 
 
   # First check the zlib header version.
   # First check the zlib header version.
   AC_COMPILE_IFELSE(
   AC_COMPILE_IFELSE(
-    AC_LANG_PROGRAM([[
+    [AC_LANG_PROGRAM([[
         #include <zlib.h>
         #include <zlib.h>
         #if !defined(ZLIB_VERNUM) || (ZLIB_VERNUM < 0x1204)
         #if !defined(ZLIB_VERNUM) || (ZLIB_VERNUM < 0x1204)
         # error zlib version too old
         # error zlib version too old
         #endif
         #endif
-        ]], []), [
+        ]], [])], [
     AC_MSG_RESULT([ok (1.2.0.4 or later)])
     AC_MSG_RESULT([ok (1.2.0.4 or later)])
 
 
     # Also need to add -lz to the linker flags and make sure this succeeds.
     # Also need to add -lz to the linker flags and make sure this succeeds.