Use the new names instead of the deprecated names to increase
the likelihood that later versions, which might lack the
backwards-compatibility wrappers, will work.
This changes GC checking to use the EL_CHECK_OPTIONAL_LIBRARY macro to
reduce redundancy. This means that there is --with-gc instead of
--enable-gc so you can pass it a path, which is needed on Debian systems
where <gc.h> resides in /usr/include/gc/gc.h.
The macro is adapted accordingly to serve the above purpose. That is,
"$withval/include" and "$withval/lib" is only appended to CFLAGS and LIBS
if they exist (else "$withval" is appended to CFLAGS).
- Use EL_ARG_DEPENDS(), the other way ended up in undefined symbols
errors with --enable-fsp and no fsplib.
- Also check for -lfsp in addition to -lfsplib.
- This could probably also use a --with-fsplib or something to specify the
path, had problems with that too, because fsplib-0.7 installed into
/usr/local, ...
This changes the init target to be idempotent: most importantly it will now
never overwrite a Makefile if it exists. Additionally 'make init' will
generate the .vimrc files. Yay, no more stupid 'added fairies' commits! ;)
- Remove AC_PROG_MAKE_SET; we's be using GNU.
- Don't AC_SUBST() SPARSE; AC_PATH_PROGS() already does that.
- Fix cleaning after previous builds by moving up builddir setting
and only cleaning under $builddir/src/ so as not to launch infinite
reruns of configure.
Either set CONFIG_SM_SCRIPTING in features.conf or pass to ./configure the
option --disable-sm-scripting. Now scripting is also enabled when needed
and not only if some other scripting backend is enabled.
Remove some remnants of SEE scripting backend.
The following patch makes the configure script of ELinks ignore an
installed GNUTLS that is too old. If --with-gnutls was specified, this
results in a fatal error.
Tested with:
- Debian libgnutls11-dev 1.0.16-14, configure --with-gnutls
-> error at configure time
- Debian libgnutls-dev 1.2.9-2, configure --with-gnutls
-> compiles OK