disabling ssl



I'm trying to build a debian package of 1.2.4, with SSL disabled.

As someone pointed out, that doesn't work.

Is this the right way to fix it?

--- balsa-1.2.4.orig/configure.in
+++ balsa-1.2.4/configure.in
@@ -494,9 +494,10 @@
    fi
 fi
 
-if test "x$with_ssl" != xno && test -z "$ssldir"; then
-   AC_MSG_ERROR([SSL requested but no SSL headers found.])
-else
+if test "x$with_ssl" != xno; then
+    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
@@ -504,6 +505,7 @@
        fi
        ac_cv_path_openssl=$ssldir
        AC_DEFINE(USE_SSL)
+    fi
 fi
 
 dnl ##########################################################################


Jules



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