]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: update gnulib and improve --with-openssl configure help
authorPádraig Brady <P@draigBrady.com>
Mon, 9 Dec 2013 12:07:05 +0000 (12:07 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 9 Dec 2013 12:51:34 +0000 (12:51 +0000)
* configure.ac: Use gl_SET_CRYPTO_CHECK_DEFAULT() to set the
coreutils default for --with-openssl early, so that the
help text can be provided in a standard and complete form.
* gnulib: Update to incorporate a build fix on platforms
with only some of md5 and sha* implemented by libcrypto.

configure.ac
gnulib

index 16b6c35b101275cbbe21d49b5cd4d5aaf26538c1..4a7fa9e2799df76d1d7acec3b9ec382316d0a37b 100644 (file)
@@ -50,16 +50,8 @@ m4_syscmd([test "${GNULIB_POSIXCHECK+set}" = set])
 m4_if(m4_sysval, [0], [], [dnl
 gl_ASSERT_NO_GNULIB_POSIXCHECK])
 
-dnl Enable use of libcrypto if available.
-dnl Note we could do this as follows:
-dnl   AS_VAR_SET_IF([with_openssl], [], [with_openssl=optional])
-dnl However that would not document the coreutils adjusted default,
-dnl so we add another --with-openssl description just to document that
-AC_ARG_WITH([openssl],
-  [AC_HELP_STRING([--with-openssl],
-    [The coreutils default is: --with-openssl=optional])],
-  [],
-  [with_openssl=optional])
+dnl Enable use of libcrypto if available, and warn if not found
+gl_SET_CRYPTO_CHECK_DEFAULT([optional])
 
 AC_PROG_CC_STDC
 AM_PROG_CC_C_O
diff --git a/gnulib b/gnulib
index fba20d159fe191b9d67688738b7c31e769171aac..8b5510050ddbf5bdee4a7cb89f8ee32e08aecd94 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit fba20d159fe191b9d67688738b7c31e769171aac
+Subproject commit 8b5510050ddbf5bdee4a7cb89f8ee32e08aecd94