summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/ax_check_openssl.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4
index a87c5a6..dc99404 100644
--- a/m4/ax_check_openssl.m4
+++ b/m4/ax_check_openssl.m4
@@ -42,9 +42,11 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
[root of the OpenSSL directory])],
[
case "$withval" in
- "" | y | ye | yes | n | no)
+ y | ye | yes)
AC_MSG_ERROR([Invalid --with-openssl value])
;;
+ "" | n | no) ssldirs=""
+ ;;
*) ssldirs="$withval"
;;
esac