mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Do not link -lfsplib when FSP is not enabled
This commit is contained in:
parent
e960992d06
commit
20f587a725
@ -1136,6 +1136,7 @@ EL_ARG_ENABLE(CONFIG_FINGER, finger, [Finger protocol],
|
||||
dnl ===================================================================
|
||||
dnl FSP protocol
|
||||
dnl ===================================================================
|
||||
EL_SAVE_FLAGS
|
||||
|
||||
if test "x${enable_fsp}" != xno; then
|
||||
AC_CHECK_HEADERS(fsplib.h, HAVE_FSPLIB=yes, HAVE_FSPLIB=no)
|
||||
@ -1156,6 +1157,10 @@ fi
|
||||
EL_ARG_DEPEND(CONFIG_FSP, fsp, [HAVE_FSPLIB:yes], [FSP protocol],
|
||||
[ --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],
|
||||
[ --disable-ftp disable ftp protocol support])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user