]> git.saurik.com Git - wxWidgets.git/commitdiff
include WebKit.h as otherwise WebKit is not detected on PPC with gcc 3.3 (patch 1623616)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Jan 2007 16:25:04 +0000 (16:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Jan 2007 16:25:04 +0000 (16:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 0e4803be14041f578786e357a87b6a7046add5cb..310eeceb33106b195d72aa2bb4c6dc8d919d7a06 100755 (executable)
--- a/configure
+++ b/configure
@@ -46748,6 +46748,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <Carbon/Carbon.h>
+#include <WebKit/WebKit.h>
 
 #include <WebKit/HIWebView.h>
 _ACEOF
index 9087d67ad2d1daedc95b49e465ed29997682b9f1..adf0bad1b7c893ea6a7c3af27859c0623feec46f 100644 (file)
@@ -7091,7 +7091,10 @@ if test "$wxUSE_WEBKIT" = "yes"; then
                            AC_MSG_WARN([WebKit headers not found; disabling wxWebKit])
                            wxUSE_WEBKIT=no
                         ],
-                        [#include <Carbon/Carbon.h>])
+                        [
+                           #include <Carbon/Carbon.h>
+                           #include <WebKit/WebKit.h>
+                        ])
         CPPFLAGS="$old_CPPFLAGS"
     elif test "$wxUSE_COCOA" = 1; then
         AC_DEFINE(wxUSE_WEBKIT)