Fixed TCP wrapper setting so that it is only enabled when the set to.
[yaz-moved-to-github.git] / configure
index fcfc333..47b4306 100755 (executable)
--- a/configure
+++ b/configure
@@ -24,7 +24,7 @@ ac_help="$ac_help
 ac_help="$ac_help
   --disable-comp          use old encoders, i.e. disable the YAZ ASN.1 Compiler"
 ac_help="$ac_help
-  --enable-tcpd[=PREFIX]    enable TCP wrapper for server if available"
+  --enable-tcpd[=PREFIX]  enable TCP wrapper for server if available"
 ac_help="$ac_help
   --disable-threads       disable threads"
 
@@ -2096,7 +2096,7 @@ if test "${enable_tcpd+set}" = set; then
   :
 fi
 
-if test "$enable_tcpd" != "no"; then
+if test "$enable_tcpd" != ""; then
        oldLibs=$LIBS
        oldCPPFLAGS=$CPPFLAGS
        if test "$enable_tcpd" != "yes"; then