1
0
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:
Witold Filipczyk 2007-06-25 20:19:00 +01:00 committed by Kalle Olavi Niemitalo
parent 871a1befad
commit ba7ed23424

View File

@ -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