]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Show configure message for "checking whether to use OpenSSL hash functions..."
authorMukund Sivaraman <muks@isc.org>
Tue, 19 Sep 2017 20:52:22 +0000 (02:22 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 20 Sep 2017 08:07:52 +0000 (13:37 +0530)
configure
configure.in

index b405dd0f63416f1d64f30579132f3a1a9ff65ce0..7459f1bc78478c9ca05639654842454b5bf65dc0 100755 (executable)
--- a/configure
+++ b/configure
@@ -1000,9 +1000,9 @@ with_ecdsa
 with_gost
 with_eddsa
 with_aes
-enable_openssl_hash
 with_cc_alg
 enable_openssl_version_check
+enable_openssl_hash
 enable_crypto_rand
 with_lmdb
 with_libxml2
@@ -1695,9 +1695,9 @@ Optional Features:
   --enable-devpoll        use /dev/poll when available [default=yes]
   --enable-threads        enable multithreading
   --enable-native-pkcs11  use native PKCS11 for all crypto [default=no]
-  --enable-openssl-hash   use OpenSSL for hash functions [default=yes]
   --enable-openssl-version-check
                           check OpenSSL version [default=yes]
+  --enable-openssl-hash   use OpenSSL for hash functions [default=yes]
   --enable-crypto-rand    use the crypto provider for random [default=yes]
   --enable-largefile     64-bit file support
   --enable-backtrace      log stack backtrace on abort [default=yes]
@@ -15843,17 +15843,6 @@ else
 fi
 
 
-#
-# was --enable-openssl-hash specified?
-#
-# Check whether --enable-openssl-hash was given.
-if test "${enable_openssl_hash+set}" = set; then :
-  enableval=$enable_openssl_hash; want_openssl_hash="$enableval"
-else
-  want_openssl_hash="whenossl"
-fi
-
-
 #
 # Client Cookie algorithm choice
 #
@@ -16610,8 +16599,8 @@ fi
 # Choose Client Cookie algorithm
 #
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Algorithm for Client Cookie" >&5
-$as_echo_n "checking for the Algorithm for Client Cookie... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the algorithm for Client Cookie" >&5
+$as_echo_n "checking for the algorithm for Client Cookie... " >&6; }
 if test "auto" = "$with_cc_alg"
 then
        if test "yes" = "$with_aes"
@@ -16649,6 +16638,19 @@ esac
 # Use OpenSSL for hash functions
 #
 
+#
+# was --enable-openssl-hash specified?
+#
+# Check whether --enable-openssl-hash was given.
+if test "${enable_openssl_hash+set}" = set; then :
+  enableval=$enable_openssl_hash; want_openssl_hash="$enableval"
+else
+  want_openssl_hash="whenossl"
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use OpenSSL hash functions" >&5
+$as_echo_n "checking whether to use OpenSSL hash functions... " >&6; }
 ISC_PLATFORM_OPENSSLHASH="#undef ISC_PLATFORM_OPENSSLHASH"
 if test "whenossl" = "$want_openssl_hash"
 then
index 6de99872c810096fa818e582c5687d853648c4ed..0aed224f4e281669cd5283cc926234b59d0b0421 100644 (file)
@@ -1467,13 +1467,6 @@ AC_ARG_WITH(eddsa, [  --with-eddsa            Crypto EDDSA [yes|all|no].],
 AC_ARG_WITH(aes, [  --with-aes              Crypto AES],
            with_aes="$withval", with_aes="checkcc")
 
-#
-# was --enable-openssl-hash specified?
-#
-AC_ARG_ENABLE(openssl-hash,
-       [  --enable-openssl-hash   use OpenSSL for hash functions [[default=yes]]],
-       want_openssl_hash="$enableval", want_openssl_hash="whenossl")
-
 #
 # Client Cookie algorithm choice
 #
@@ -2049,7 +2042,7 @@ AC_SUBST(ISC_PLATFORM_WANTAES)
 # Choose Client Cookie algorithm
 #
 
-AC_MSG_CHECKING(for the Algorithm for Client Cookie)
+AC_MSG_CHECKING(for the algorithm for Client Cookie)
 if test "auto" = "$with_cc_alg"
 then
        if test "yes" = "$with_aes"
@@ -2081,6 +2074,14 @@ esac
 # Use OpenSSL for hash functions
 #
 
+#
+# was --enable-openssl-hash specified?
+#
+AC_ARG_ENABLE(openssl-hash,
+       [  --enable-openssl-hash   use OpenSSL for hash functions [[default=yes]]],
+       want_openssl_hash="$enableval", want_openssl_hash="whenossl")
+
+AC_MSG_CHECKING(whether to use OpenSSL hash functions)
 ISC_PLATFORM_OPENSSLHASH="#undef ISC_PLATFORM_OPENSSLHASH"
 if test "whenossl" = "$want_openssl_hash"
 then