Improve the logic for FiSHLiM checks

This commit is contained in:
Berke Viktor 2012-07-18 14:03:15 +02:00
parent 8aaff85e70
commit d3effc806f

View File

@ -534,9 +534,6 @@ if test "$fishlim" != "no"; then
AC_MSG_CHECKING(for plugin interface used by FiSHLiM) AC_MSG_CHECKING(for plugin interface used by FiSHLiM)
if test "$plugin" = yes; then if test "$plugin" = yes; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([plugins are disabled, use the --enable-plugin option])
fi
AC_MSG_CHECKING(for OpenSSL used by FiSHLiM) AC_MSG_CHECKING(for OpenSSL used by FiSHLiM)
if test "$openssl" = yes; then if test "$openssl" = yes; then
fishlim=yes fishlim=yes
@ -544,6 +541,9 @@ if test "$fishlim" != "no"; then
else else
AC_MSG_RESULT([OpenSSL cannot be found, use the --enable-openssl option]) AC_MSG_RESULT([OpenSSL cannot be found, use the --enable-openssl option])
fi fi
else
AC_MSG_RESULT([plugins are disabled, use the --enable-plugin option])
fi
fi fi
dnl ####################################################################### dnl #######################################################################