mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
Bug 755: Check for JS_GetReservedSlot in configure.in
I'm not sure if JS_GetReservedSlot exists in all versions of the SpiderMonkey. IMHO the configure script should check for JS_GetReservedSlot. The patch in the attachment.
This commit is contained in:
parent
f0c720c19b
commit
6d2f111a11
@ -653,7 +653,7 @@ if test -z "$disable_spidermonkey"; then
|
||||
|
||||
AC_TRY_LINK([#define XP_UNIX
|
||||
#include <jsapi.h>],
|
||||
[JS_GetImplementationVersion()],
|
||||
[JS_GetReservedSlot(NULL, NULL, 0, NULL)],
|
||||
cf_result=yes, cf_result=no)
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user