2011-05-04 Xan Lopez <xlopez@igalia.com>
authorxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 May 2011 02:07:54 +0000 (02:07 +0000)
committerxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 May 2011 02:07:54 +0000 (02:07 +0000)
        Reviewed by Martin Robinson.

        [GTK] Fix warnings in webkit.m4 with autoconf 2.68
        https://bugs.webkit.org/show_bug.cgi?id=60189

        Use AC_LANG_SOURCE when passing source code to AC_COMPILE_IFELSE
        to remove warnings.

        * Source/autotools/webkit.m4: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85819 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/autotools/webkit.m4

index bf402ef..b415d36 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2011-05-04  Xan Lopez  <xlopez@igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [GTK] Fix warnings in webkit.m4 with autoconf 2.68
+        https://bugs.webkit.org/show_bug.cgi?id=60189
+
+        Use AC_LANG_SOURCE when passing source code to AC_COMPILE_IFELSE
+        to remove warnings.
+
+        * Source/autotools/webkit.m4: ditto.
+
 2011-05-04  Martin Robinson  <mrobinson@igalia.com>
 
         Fix the WebKitGTK+ build.
index c2f2263..ec5e810 100644 (file)
@@ -31,7 +31,7 @@ AC_REQUIRE([INIT_C_CXX_FLAGS])
 saved_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
 AC_MSG_CHECKING([if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden])
-AC_COMPILE_IFELSE([char foo;],
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])],
       [ AC_MSG_RESULT([yes])
         SYMBOL_VISIBILITY="-fvisibility=hidden" SYMBOL_VISIBILITY_INLINES="-fvisibility-inlines-hidden" ],
         AC_MSG_RESULT([no]))