]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Set with_cmocka=no by default
authorOndřej Surý <ondrej@sury.org>
Thu, 21 Jun 2018 10:18:56 +0000 (12:18 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 21 Jun 2018 10:19:28 +0000 (12:19 +0200)
configure
configure.in

index 92a608c1cda73f5ebfada2e13508918fb6f55c3c..bfebc118c6b9199de1d5d03f57aa929e43b0dc17 100755 (executable)
--- a/configure
+++ b/configure
@@ -22538,7 +22538,9 @@ fi
 
 # Check whether --with-cmocka was given.
 if test "${with_cmocka+set}" = set; then :
-  withval=$with_cmocka;
+  withval=$with_cmocka; :
+else
+  with_cmocka=no
 fi
 
 
index 7d5ed67eab1e47de8ba26253c34375024fe19247..efd60b08070803853bcdaadd1092ef2d45aaa1cf 100644 (file)
@@ -4551,7 +4551,8 @@ AC_SUBST([LIBIDN2_LIBS])
 #
 
 AC_ARG_WITH([cmocka],
-           [AS_HELP_STRING([--with-cmocka=no],[enable cmocka based tests (default is no)])])
+           [AS_HELP_STRING([--with-cmocka=no],[enable cmocka based tests (default is no)])],
+           [:],[with_cmocka=no])
 
 AS_CASE([$with_cmocka],
        [no],[:],