summaryrefslogtreecommitdiff
path: root/m4/ax_check_openssl.m4
diff options
context:
space:
mode:
authorDebian QA Group <packages@qa.debian.org>2018-04-24 16:52:34 +0200
committerAndrej Shadura <andrewsh@debian.org>2018-04-24 16:52:34 +0200
commit67b215ef081588b84169b8593c497435122ff260 (patch)
treeb5bd6b119ae6c638ac4a474763e6262d2426f26c /m4/ax_check_openssl.m4
parent4152be308c830f892da7b73fc285e3485dc3757e (diff)
Gbp-Pq: Name 004-No-openssl.diff
Diffstat (limited to 'm4/ax_check_openssl.m4')
-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