{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- CY_EXECUTE=0
+
+ for ac_header in JavaScriptCore/JSBase.h
+do :
+ ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default"
+if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_JAVASCRIPTCORE_JSBASE_H 1
+_ACEOF
+ CY_EXECUTE=1
+fi
+
+done
+
+
elif test $pkg_failed = untried; then
- CY_EXECUTE=0
+
+ for ac_header in JavaScriptCore/JSBase.h
+do :
+ ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default"
+if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_JAVASCRIPTCORE_JSBASE_H 1
+_ACEOF
+ CY_EXECUTE=1
+fi
+
+done
+
+
else
WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- CY_EXECUTE=0
+
+ for ac_header in JavaScriptCore/JSBase.h
+do :
+ ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default"
+if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_JAVASCRIPTCORE_JSBASE_H 1
+_ACEOF
+ CY_EXECUTE=1
+fi
+
+done
+
+
elif test $pkg_failed = untried; then
- CY_EXECUTE=0
+
+ for ac_header in JavaScriptCore/JSBase.h
+do :
+ ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default"
+if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_JAVASCRIPTCORE_JSBASE_H 1
+_ACEOF
+ CY_EXECUTE=1
+fi
+
+done
+
+
else
WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
CY_EXECUTE=1
AC_LIB_APPENDTOVAR([CXXFLAGS], [`$PKG_CONFIG --cflags WebKitGtk`])
AC_LIB_APPENDTOVAR([LIBS], [`$PKG_CONFIG --libs WebKitGtk`])
- ], [CY_EXECUTE=0])
+ ], [
+ AC_CHECK_HEADERS([JavaScriptCore/JSBase.h], [CY_EXECUTE=1])
+ ])
])
AC_PROG_OBJCXX
AS_CASE([$CY_EXECUTE], [1], [