configure.ac: pick up javascriptcoregtk-4.0,3.0 if available.

Ubuntu 20 doesn't have libwebkitgtk-dev/libjavascriptcoregtk-1.0-dev,
but it has 4.0. Ubuntu 18 provides 3.0 as option.
This commit is contained in:
Andy Polyakov 2021-02-28 22:41:55 +01:00
commit 1abb726d69
2 changed files with 10 additions and 2 deletions

View file

@ -18,7 +18,7 @@ typedef int (*JSCIntializer)(JSGlobalContextRef context, JSObjectRef *module);
public:
JSCShell() {};
JSCShell() { context = 0; };
virtual ~JSCShell();