mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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
871a1befad
commit
ba7ed23424
@ -641,7 +641,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…
Reference in New Issue
Block a user