]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
configure clarifications
authorMatthijs Mekking <matje@NLnetLabs.nl>
Tue, 2 Nov 2010 09:11:46 +0000 (09:11 +0000)
committerMatthijs Mekking <matje@NLnetLabs.nl>
Tue, 2 Nov 2010 09:11:46 +0000 (09:11 +0000)
configure.ac
examples/configure.ac

index 711d07b59ad7130038ae39be793ba089e6c0f5ed..b581f060a2398bc6fdc2b2d55537bb6c13aaa9ec 100644 (file)
@@ -158,8 +158,8 @@ case "$enable_gost" in
             AC_MSG_ERROR([GOST enabled, but no SSL support])
         fi
         AC_MSG_CHECKING(for GOST)
-        AC_CHECK_FUNC(EVP_PKEY_set_type_str, [],[AC_MSG_ERROR([OpenSSL >= 1.0.0 is needed for GOST support])])
-        AC_CHECK_FUNC(EC_KEY_new, [], [AC_MSG_ERROR([OpenSSL does not support ECC, needed for GOST support])])
+        AC_CHECK_FUNC(EVP_PKEY_set_type_str, [],[AC_MSG_ERROR([OpenSSL >= 1.0.0 is needed for GOST support or rerun with --disable-gost])])
+        AC_CHECK_FUNC(EC_KEY_new, [], [AC_MSG_ERROR([No ECC functions found in OpenSSL: please upgrade OpenSSL or rerun with --disable-gost])])
         AC_DEFINE_UNQUOTED([USE_GOST], [1], [Define this to enable GOST support.])
         ;;
 esac
index f104841f328a960d67a0c340ee2410faf9138d92..2da934c3d0a8e7694b7b31de4150f90e72a9d6ae 100644 (file)
@@ -168,8 +168,8 @@ case "$enable_gost" in
             AC_MSG_ERROR([GOST enabled, but no SSL support])
         fi
         AC_MSG_CHECKING(for GOST)
-        AC_CHECK_FUNC(EVP_PKEY_set_type_str, [],[AC_MSG_ERROR([OpenSSL >= 1.0.0 is needed for GOST support])])
-        AC_CHECK_FUNC(EC_KEY_new, [], [AC_MSG_ERROR([OpenSSL does not support ECC, needed for GOST support])])
+        AC_CHECK_FUNC(EVP_PKEY_set_type_str, [],[AC_MSG_ERROR([OpenSSL >= 1.0.0 is needed for GOST support or rerun with --disable-gost])])
+        AC_CHECK_FUNC(EC_KEY_new, [], [AC_MSG_ERROR([No ECC functions found in OpenSSL: please upgrade OpenSSL or rerun with --disable-gost])])
         AC_DEFINE_UNQUOTED([USE_GOST], [1], [Define this to enable GOST support.])
         ;;
 esac
@@ -179,6 +179,11 @@ case "$enable_ecdsa" in
     yes)
        AC_CHECK_FUNC(ECDSA_sign,,[AC_MSG_ERROR([OpenSSL does not support ECDSA])])
         AC_DEFINE_UNQUOTED([USE_ECDSA], [1], [Define this to enable ECDSA support.])
+        AC_WARN([
+        *****************************************************************
+        *** YOU HAVE ENABLED ECDSA WHICH IS EXPERIMENTAL AT THIS TIME ***
+        *** PLEASE DO NOT USE THIS ON THE PUBLIC INTERNET             ***
+        *****************************************************************])
       ;;
     no|*)
       ;;