From 7832b290301f6c0e16a2474bae44b5a27104eb27 Mon Sep 17 00:00:00 2001 From: Date: Sat, 21 Jan 2006 20:46:37 +0100 Subject: [PATCH] Do not link -lfsplib when FSP is not enabled --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 4a485a9ff..283501879 100644 --- a/configure.in +++ b/configure.in @@ -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])