Creating a testdir produces an error: $ ./gnulib-tool --create-testdir --dir=t2 --single-configure --symlink crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 ... configure.ac:197: warning: gl_HEADER_SYS_SOCKET is m4_require'd but not m4_defun'd configure.ac:29: gl_INIT is expanded from... configure.ac:197: the top level executing autoconf configure.ac:197: warning: gl_HEADER_SYS_SOCKET is m4_require'd but not m4_defun'd configure.ac:29: gl_INIT is expanded from... configure.ac:197: the top level configure:5335: error: possibly undefined macro: gl_HEADER_SYS_SOCKET If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
This fixes it. 2018-05-05 Bruno Haible <br...@clisp.org> crypto/{md5,sha1,sha256,sha512}: Fix module description. * modules/crypto/md5 (Depends-on): Add 'sys_socket'. * modules/crypto/sha1 (Depends-on): Likewise. * modules/crypto/sha256 (Depends-on): Likewise. * modules/crypto/sha512 (Depends-on): Likewise. diff --git a/modules/crypto/md5 b/modules/crypto/md5 index 415cf05..6fc2477 100644 --- a/modules/crypto/md5 +++ b/modules/crypto/md5 @@ -15,6 +15,7 @@ Depends-on: extern-inline stdalign stdint +sys_socket configure.ac: gl_MD5 diff --git a/modules/crypto/sha1 b/modules/crypto/sha1 index dbd41d2..3ae3ebc 100644 --- a/modules/crypto/sha1 +++ b/modules/crypto/sha1 @@ -15,6 +15,7 @@ Depends-on: extern-inline stdalign stdint +sys_socket configure.ac: gl_SHA1 diff --git a/modules/crypto/sha256 b/modules/crypto/sha256 index 9d4f115..79d03bf 100644 --- a/modules/crypto/sha256 +++ b/modules/crypto/sha256 @@ -15,6 +15,7 @@ Depends-on: extern-inline stdalign stdint +sys_socket configure.ac: gl_SHA256 diff --git a/modules/crypto/sha512 b/modules/crypto/sha512 index 6d0dd10..f08c249 100644 --- a/modules/crypto/sha512 +++ b/modules/crypto/sha512 @@ -15,6 +15,7 @@ Depends-on: extern-inline stdalign stdint +sys_socket u64 configure.ac: