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,16 +534,16 @@ 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])
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 else
AC_MSG_RESULT([plugins are disabled, use the --enable-plugin option]) AC_MSG_RESULT([plugins are disabled, use the --enable-plugin option])
fi 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 fi
dnl ####################################################################### dnl #######################################################################