mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
configure: Remove --with-xulrunner_includes, --with-xulrunner_libs
These will be replaced with pkg-config. It seems SpiderMonkey 1.8.5 always comes with a *.pc file.
This commit is contained in:
parent
0dee9f79a7
commit
a4a252af37
1
NEWS
1
NEWS
@ -82,7 +82,6 @@ Miscellaneous:
|
||||
* enhancement: Add move-half-page-up and move-half-page-down actions.
|
||||
* enhancement: Add option to change overlap for vertical scrolling.
|
||||
* link against lua51 not lua50
|
||||
* configure options to link against libmozjs of xulrunner
|
||||
* using iconv for some multibyte charsets. It works if the terminal codepage
|
||||
is UTF-8. More charsets will be added on demand.
|
||||
|
||||
|
27
configure.in
27
configure.in
@ -623,15 +623,6 @@ fi
|
||||
# Check for SpiderMonkey, optional even if installed.
|
||||
# ===================================================================
|
||||
|
||||
xulrunner_includes=
|
||||
xulrunner_libs=
|
||||
AC_ARG_WITH(xulrunner_includes, [ --with-xulrunner_includes=DIR
|
||||
When set, the libmozjs of xulrunner is used instead of "standalone" SpiderMonkey],
|
||||
[xulrunner_includes="$withval"])
|
||||
AC_ARG_WITH(xulrunner_libs, [ --with-xulrunner_libs=OPTIONS
|
||||
Linker options for xulrunner,
|
||||
eg. --with-xulrunner_libs="-Wl,-R/usr/lib/xulrunner -L/usr/lib/xulrunner -lmozjs"],
|
||||
[xulrunner_libs="$withval"])
|
||||
AC_ARG_WITH(spidermonkey, [ --without-spidermonkey disable SpiderMonkey Mozilla JavaScript engine support],
|
||||
[if test "$withval" = no; then disable_spidermonkey=yes; fi])
|
||||
|
||||
@ -644,23 +635,6 @@ if test -z "$disable_spidermonkey"; then
|
||||
if test ! -d "$withval"; then
|
||||
withval="";
|
||||
fi
|
||||
if test ! -z "$xulrunner_includes"; then
|
||||
SPIDERMONKEY_LIBS="$xulrunner_libs"
|
||||
SPIDERMONKEY_CFLAGS="-I$xulrunner_includes"
|
||||
LIBS="$SPIDERMONKEY_LIBS $LIBS_X"
|
||||
CFLAGS="$CFLAGS_X $SPIDERMONKEY_CFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS_X $SPIDERMONKEY_CFLAGS"
|
||||
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define XP_UNIX
|
||||
#include <jsapi.h>]], [[
|
||||
#ifndef JS_VERSION
|
||||
#error JS_VERSION
|
||||
#endif
|
||||
#if JS_VERSION < 185
|
||||
#error too old
|
||||
#endif]])],
|
||||
[cf_result=yes],[cf_result=no])
|
||||
else
|
||||
for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do
|
||||
for spidermonkeyinclude in "/include" "/include/js" "/include/smjs" "/include/mozjs"; do
|
||||
for spidermonkeylib in js smjs mozjs; do
|
||||
@ -686,7 +660,6 @@ if test -z "$disable_spidermonkey"; then
|
||||
done
|
||||
done
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT($cf_result)
|
||||
|
Loading…
Reference in New Issue
Block a user