1
0
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:
2006-01-21 20:46:37 +01:00 committed by Jonas Fonseca
parent c8eebcd23b
commit 7832b29030

View File

@ -1080,6 +1080,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)
@ -1100,6 +1101,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])