From: Jay Freeman (saurik) Date: Sun, 23 Jun 2013 07:41:44 +0000 (-0700) Subject: Do not rely on WebKit/WebCore for WebUndefined. X-Git-Tag: v0.9.500%b1~49 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/4a5b14f83554f6552c1a416b878bb3f091113fb2 Do not rely on WebKit/WebCore for WebUndefined. --- diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 24269e2..59006c7 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -32,7 +32,6 @@ #ifdef __APPLE__ #include #include -#include #include #endif @@ -570,7 +569,6 @@ struct PropertyAttributes { }; #endif -#ifndef __APPLE__ @interface CYWebUndefined : NSObject { } @@ -588,7 +586,6 @@ struct PropertyAttributes { @end #define WebUndefined CYWebUndefined -#endif /* Bridge: CYJSObject {{{ */ @interface CYJSObject : NSMutableDictionary { diff --git a/configure.ac b/configure.ac index a68e4a1..85a68e4 100644 --- a/configure.ac +++ b/configure.ac @@ -234,10 +234,6 @@ AS_CASE([$CY_EXECUTE], [1], [ AC_CHECK_FRAMEWORK([Foundation], [ #include ], [[[[NSObject alloc] init];]]) - - AC_CHECK_FRAMEWORK([WebKit], [ - #include - ], [[[[WebScriptObject alloc] init];]]) ], [ AC_ARG_VAR([GNUSTEP_CONFIG], [prints information about the current gnustep installation]) AC_CHECK_PROGS([GNUSTEP_CONFIG], [gnustep-config])