mirror of
https://github.com/rkd77/elinks.git
synced 2025-05-18 00:48:57 -04:00
Do not link -lfsplib when FSP is not enabled
This commit is contained in:
parent
c8eebcd23b
commit
7832b29030
@ -1080,6 +1080,7 @@ EL_ARG_ENABLE(CONFIG_FINGER, finger, [Finger protocol],
|
|||||||
dnl ===================================================================
|
dnl ===================================================================
|
||||||
dnl FSP protocol
|
dnl FSP protocol
|
||||||
dnl ===================================================================
|
dnl ===================================================================
|
||||||
|
EL_SAVE_FLAGS
|
||||||
|
|
||||||
if test "x${enable_fsp}" != xno; then
|
if test "x${enable_fsp}" != xno; then
|
||||||
AC_CHECK_HEADERS(fsplib.h, HAVE_FSPLIB=yes, HAVE_FSPLIB=no)
|
AC_CHECK_HEADERS(fsplib.h, HAVE_FSPLIB=yes, HAVE_FSPLIB=no)
|
||||||
@ -1100,6 +1101,10 @@ fi
|
|||||||
EL_ARG_DEPEND(CONFIG_FSP, fsp, [HAVE_FSPLIB:yes], [FSP protocol],
|
EL_ARG_DEPEND(CONFIG_FSP, fsp, [HAVE_FSPLIB:yes], [FSP protocol],
|
||||||
[ --enable-fsp enable FSP protocol support])
|
[ --enable-fsp enable FSP protocol support])
|
||||||
|
|
||||||
|
if test "x$CONFIG_FSP" = xno; then
|
||||||
|
EL_RESTORE_FLAGS
|
||||||
|
fi
|
||||||
|
|
||||||
EL_ARG_ENABLE(CONFIG_FTP, ftp, [FTP protocol],
|
EL_ARG_ENABLE(CONFIG_FTP, ftp, [FTP protocol],
|
||||||
[ --disable-ftp disable ftp protocol support])
|
[ --disable-ftp disable ftp protocol support])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user