summary refs log tree commit diff stats
path: root/configure.in
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-18 14:03:15 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-18 14:03:15 +0200
commitd3effc806f79555f0e002d07a4a8a81becbc830f (patch)
tree81734eaf381daca9f86fefa76d35c86170dd707d /configure.in
parent8aaff85e7087e4771994c8ea0b5ba69544f9da7d (diff)
Improve the logic for FiSHLiM checks
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 2a041a7d..ec10b3bd 100644
--- a/configure.in
+++ b/configure.in
@@ -534,16 +534,16 @@ if test "$fishlim" != "no"; then
 	AC_MSG_CHECKING(for plugin interface used by FiSHLiM)
 	if test "$plugin" = yes; then
 		AC_MSG_RESULT([yes])
+		AC_MSG_CHECKING(for OpenSSL used by FiSHLiM)
+		if test "$openssl" = yes; then
+			fishlim=yes
+			AC_MSG_RESULT([yes])
+		else
+			AC_MSG_RESULT([OpenSSL cannot be found, use the --enable-openssl option])
+		fi
 	else
 		AC_MSG_RESULT([plugins are disabled, use the --enable-plugin option])
 	fi
-	AC_MSG_CHECKING(for OpenSSL used by FiSHLiM)
-	if test "$openssl" = yes; then
-		fishlim=yes
-		AC_MSG_RESULT([yes])
-	else
-		AC_MSG_RESULT([OpenSSL cannot be found, use the --enable-openssl option])
-	fi
 fi
 
 dnl #######################################################################