The SSL and TLS configure flag compile bug appears to have returned in
lftp-3.4.6. In lftp-3.4.5, I could do any of these examples without problems:
./configure --without-gnutls --without-openssl && make
./configure --with-gnutls --without-openssl && make
./configure --without-gnutls --with-openssl && make
But now in lftp-3.4.6, this is no longer true:
./configure --without-gnutls --without-openssl && make
fails with:
if /bin/sh ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include -O2 -Wall -Wwrite-strings -Woverloaded-virtual
-fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT ftpclass.lo -MD
-MP -MF ".deps/ftpclass.Tpo" -c -o ftpclass.lo ftpclass.cc; \
then mv -f ".deps/ftpclass.Tpo" ".deps/ftpclass.Plo"; else rm -f
".deps/ftpclass.Tpo"; exit 1; fi
ftpclass.cc: In member function `virtual int Ftp::Do()':
ftpclass.cc:1333: error: 'class Ftp::Connection' has no member named 'prot'
make[1]: *** [ftpclass.lo] Error 1
make[1]: Leaving directory `/usr/src/lftp-3.4.6/src'
make: *** [all-recursive] Error 1
gcc-3.4.5, glibc-2.3.6, openssl-0.9.8a, gnutls-1.2.10, installed on a linux box.
Terry Chan