[PATCH] : configure glitch, episode 2



	Hi all,
just a smal patch to configure.in against 1.2.4 to add the "no" message if 
we don't ssl support.
This patch replaces the preceding one.
Bye
Manu
--- ../balsa-1.2.4/configure.in	Sun Jan 20 12:44:48 2002
+++ balsa-1.2.4/configure.in	Thu Jan 24 18:08:56 2002
@@ -492,18 +492,19 @@
            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
+else
+	AC_MSG_RESULT(no)
 fi
 
 dnl ##########################################################################


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