#! /bin/sh
-# From configure.in Id.
+# From configure.in Id: configure.in 69077 2011-09-13 12:06:06Z SJL .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
#
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
if test "$wxUSE_WEBVIEW_WEBKIT" = "yes" -a "$wxUSE_GTK" = 1; then
- cat >>confdefs.h <<\_ACEOF
-#define wxUSE_WEBVIEW_WEBKIT 1
-_ACEOF
{ echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
- else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: WARNING: libwebkitgtk-1.0 not found; disabling webkit backend" >&5
-echo "$as_me: WARNING: libwebkitgtk-1.0 not found; disabling webkit backend" >&2;}
- wxUSE_WEBVIEW_WEBKIT="no"
- fi
- { echo "$as_me:$LINENO: checking for webkitgtk includes" >&5
+ { echo "$as_me:$LINENO: checking for webkitgtk includes" >&5
echo $ECHO_N "checking for webkitgtk includes... $ECHO_C" >&6; }
ac_find_includes=
fi
done
- if test "$ac_find_includes" != "" ; then
- { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
+ if test "$ac_find_includes" != "" ; then
+ { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
echo "${ECHO_T}found in $ac_find_includes" >&6; }
if test "x$ac_find_includes" = "x/usr/include"; then
fi
fi
- CPPFLAGS="$ac_path_to_include $CPPFLAGS"
- else
- { echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6; }
- { echo "$as_me:$LINENO: WARNING: webkit includes not found; disabling webkit backend" >&5
-echo "$as_me: WARNING: webkit includes not found; disabling webkit backend" >&2;}
- wxUSE_WEBVIEW_WEBKIT="no"
- fi
- { echo "$as_me:$LINENO: checking for libsoup includes" >&5
+ CPPFLAGS="$ac_path_to_include $CPPFLAGS"
+
+ { echo "$as_me:$LINENO: checking for libsoup includes" >&5
echo $ECHO_N "checking for libsoup includes... $ECHO_C" >&6; }
ac_find_includes=
fi
done
- if test "$ac_find_includes" != "" ; then
- { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
+ if test "$ac_find_includes" != "" ; then
+ { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
echo "${ECHO_T}found in $ac_find_includes" >&6; }
if test "x$ac_find_includes" = "x/usr/include"; then
fi
fi
- CPPFLAGS="$ac_path_to_include $CPPFLAGS"
- else
- { echo "$as_me:$LINENO: result: not found" >&5
+ CPPFLAGS="$ac_path_to_include $CPPFLAGS"
+
+ #if we have all the requirements then enable this backend
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_WEBVIEW_WEBKIT 1
+_ACEOF
+
+ else
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+ { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling webkit backend" >&5
+echo "$as_me: WARNING: libsoup headers not found; disabling webkit backend" >&2;}
+ fi
+ else
+ { echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6; }
- { echo "$as_me:$LINENO: WARNING: libsoup includes not found; disabling webkit backend" >&5
-echo "$as_me: WARNING: libsoup includes not found; disabling webkit backend" >&2;}
- wxUSE_WEBVIEW_WEBKIT="no"
+ { echo "$as_me:$LINENO: WARNING: webkit headers not found; disabling webkit backend" >&5
+echo "$as_me: WARNING: webkit headers not found; disabling webkit backend" >&2;}
+ fi
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ { echo "$as_me:$LINENO: WARNING: webkit libraries not found; disabling webkit backend" >&5
+echo "$as_me: WARNING: webkit libraries not found; disabling webkit backend" >&2;}
fi
fi
else
- { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebView WebKit" >&5
-echo "$as_me: WARNING: WebKit headers not found; disabling wxWebView WebKit" >&2;}
- wxUSE_WEBVIEW_WEBKIT=no
+ { echo "$as_me:$LINENO: WARNING: webkit headers not found; disabling webkit backend" >&5
+echo "$as_me: WARNING: webkit headers not found; disabling webkit backend" >&2;}
fi
CPPFLAGS="$old_CPPFLAGS"
- elif test "$wxUSE_OLD_COCOA" = 1; then
- cat >>confdefs.h <<\_ACEOF
-#define wxUSE_WEBVIEW_WEBKIT 1
-_ACEOF
-
- else
- wxUSE_WEBVIEW_WEBKIT=no
fi
fi