include WebKit.h as otherwise WebKit is not detected on PPC with gcc 3.3 (patch 1623616)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
1
configure
vendored
1
configure
vendored
@@ -46748,6 +46748,7 @@ cat confdefs.h >>conftest.$ac_ext
|
|||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
#include <WebKit/WebKit.h>
|
||||||
|
|
||||||
#include <WebKit/HIWebView.h>
|
#include <WebKit/HIWebView.h>
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
@@ -7091,7 +7091,10 @@ if test "$wxUSE_WEBKIT" = "yes"; then
|
|||||||
AC_MSG_WARN([WebKit headers not found; disabling wxWebKit])
|
AC_MSG_WARN([WebKit headers not found; disabling wxWebKit])
|
||||||
wxUSE_WEBKIT=no
|
wxUSE_WEBKIT=no
|
||||||
],
|
],
|
||||||
[#include <Carbon/Carbon.h>])
|
[
|
||||||
|
#include <Carbon/Carbon.h>
|
||||||
|
#include <WebKit/WebKit.h>
|
||||||
|
])
|
||||||
CPPFLAGS="$old_CPPFLAGS"
|
CPPFLAGS="$old_CPPFLAGS"
|
||||||
elif test "$wxUSE_COCOA" = 1; then
|
elif test "$wxUSE_COCOA" = 1; then
|
||||||
AC_DEFINE(wxUSE_WEBKIT)
|
AC_DEFINE(wxUSE_WEBKIT)
|
||||||
|
Reference in New Issue
Block a user