[PATCH] : configure glitch



	Hi all,
even when you use --without-ssl, configure will add -lssl to the $LIBS var 
causing ld to shout at your ears that it didn't find ssl lib.
Here is the patch (I'm not sure of indent, sorry).
Bye
Manu
--- ../balsa-1.2.4/configure.in	Sun Jan 20 12:44:48 2002
+++ balsa-1.2.4/configure.in	Mon Jan 21 16:11:24 2002
@@ -492,18 +492,17 @@
            done
 	fi
    fi
-fi
-
-if test "x$with_ssl" != xno && test -z "$ssldir"; then
-   AC_MSG_ERROR([SSL requested but no SSL headers found.])
-else
-        AC_MSG_RESULT(yes)
+   if test -z "$ssldir"; then
+      AC_MSG_ERROR([SSL requested but no SSL headers found.])
+   else
+      	AC_MSG_RESULT(yes)
         LIBS="$LIBS -lssl -lcrypto"
 	if test "x$ssldir" != xdefault ; then
-		CPPFLAGS="-I${ssldir}/include $CPPFLAGS"
+	   CPPFLAGS="-I${ssldir}/include $CPPFLAGS"
 	fi
 	ac_cv_path_openssl=$ssldir
 	AC_DEFINE(USE_SSL)
+   fi
 fi
 
 dnl ##########################################################################


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]