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
1 changed files with 7 additions and 7 deletions

View File

@ -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 #######################################################################