mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fixed issue with EL_CONFIG_OPTIONAL_LIBRARY and features.conf
Settings of features.conf were ignored by the EL_CONFIG_OPTIONAL_LIBRARY.
This commit is contained in:
parent
e374da9ce8
commit
3e8f774659
11
configure.in
11
configure.in
@ -432,11 +432,12 @@ AC_DEFUN([EL_CHECK_OPTIONAL_LIBRARY],
|
|||||||
dnl EL_CONFIG_OPTIONAL_LIBRARY(define, name, header, lib, function, confhelp)
|
dnl EL_CONFIG_OPTIONAL_LIBRARY(define, name, header, lib, function, confhelp)
|
||||||
AC_DEFUN([EL_CONFIG_OPTIONAL_LIBRARY],
|
AC_DEFUN([EL_CONFIG_OPTIONAL_LIBRARY],
|
||||||
[
|
[
|
||||||
$1=yes
|
if test "x[$]$1" != xno; then $1=yes; fi
|
||||||
WITHVAL_$1=
|
WITHVAL_$1=
|
||||||
|
|
||||||
AC_ARG_WITH([$2], [$6], [WITHVAL_$1="[$]withval"])
|
AC_ARG_WITH([$2], [$6], [WITHVAL_$1="[$]withval"])
|
||||||
if test "x[$]WITHVAL_$1" = xno; then $1=no; fi
|
if test "x[$]WITHVAL_$1" = xno; then $1=no; fi
|
||||||
|
if test "x[$]WITHVAL_$1" = xyes; then $1=yes; fi
|
||||||
|
|
||||||
EL_CHECK_OPTIONAL_LIBRARY([$1], [$2], [$3], [$4], [$5])
|
EL_CHECK_OPTIONAL_LIBRARY([$1], [$2], [$3], [$4], [$5])
|
||||||
|
|
||||||
@ -460,17 +461,15 @@ EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_BZIP2, bzlib, bzlib.h, bz2, BZ2_bzReadOpen,
|
|||||||
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_IDN, idn, idna.h, idn, stringprep_check_version,
|
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_IDN, idn, idna.h, idn, stringprep_check_version,
|
||||||
[ --without-idn disable international domain names support])
|
[ --without-idn disable international domain names support])
|
||||||
|
|
||||||
if test "x{with_gc}" != xno; then
|
if test "x${with_gc}" != xno; then
|
||||||
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GC, gc, gc.h, gc, GC_init,
|
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GC, gc, gc.h, gc, GC_init,
|
||||||
[ --with-gc enable Boehm's garbage collector])
|
[ --with-gc enable Boehm's garbage collector])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# LZMA disabled by default, because of little usability and compilation problems
|
# LZMA disabled by default, because of little usability and compilation problems
|
||||||
# with new xz
|
# with new xz
|
||||||
AC_ARG_WITH(lzma, [ --with-lzma enable lzma encoding support],
|
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_LZMA, lzma, lzma.h, lzma, lzma_code,
|
||||||
[ if test "x$withval" != xno; then
|
[ --with-lzma enable lzma encoding support])
|
||||||
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_LZMA, lzma, lzma.h, lzma, lzma_code, [])
|
|
||||||
fi ])
|
|
||||||
|
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
# Check for GSSAPI, optional even if installed.
|
# Check for GSSAPI, optional even if installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user