[git] GnuPG - branch, master, updated. gnupg-2.2.7-159-g7e9aa30

by Werner Koch cvs at cvs.gnupg.org
Thu Jun 21 13:07:15 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  7e9aa307f76cdf2f624d43a35a8266e8b4e473f9 (commit)
      from  861f1da0731bf29dcb9221c4f22c76b40ec15a78 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7e9aa307f76cdf2f624d43a35a8266e8b4e473f9
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Jun 21 12:56:40 2018 +0200

    build: Remove duplicates from AC_CHECK_FUNCS
    
    * configure.ac (AC_CHECK_FUNCS): Fold most calls into one.
    --
    
    A few functions were tested two times which slightly increases the size
    of the configure script.  Also put the functions in sorted order into
    the macro.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/common/name-value.h b/common/name-value.h
index db9270a..5c24b8d 100644
--- a/common/name-value.h
+++ b/common/name-value.h
@@ -102,7 +102,7 @@ gpg_error_t nvc_set_private_key (nvc_t pk, gcry_sexp_t sexp);
 
 /* Parsing and serialization.  */
 
-/* Parse STREAM and return a newly allocated private key container
+/* Parse STREAM and return a newly allocated name-value container
    structure in RESULT.  If ERRLINEP is given, the line number the
    parser was last considering is stored there.  */
 gpg_error_t nvc_parse (nvc_t *result, int *errlinep, estream_t stream);
diff --git a/configure.ac b/configure.ac
index 60ec941..78a03c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1392,18 +1392,17 @@ AC_CHECK_DECLS(getpagesize)
 AC_FUNC_FSEEKO
 AC_FUNC_VPRINTF
 AC_FUNC_FORK
-AC_CHECK_FUNCS([strerror strlwr tcgetattr mmap canonicalize_file_name])
-AC_CHECK_FUNCS([strcasecmp strncasecmp ctermid times gmtime_r strtoull])
-AC_CHECK_FUNCS([setenv unsetenv fcntl ftruncate inet_ntop])
-AC_CHECK_FUNCS([canonicalize_file_name])
-AC_CHECK_FUNCS([gettimeofday getrusage getrlimit setrlimit clock_gettime])
-AC_CHECK_FUNCS([atexit raise getpagesize strftime nl_langinfo setlocale])
-AC_CHECK_FUNCS([waitpid wait4 sigaction sigprocmask pipe getaddrinfo])
-AC_CHECK_FUNCS([ttyname rand ftello fsync stat lstat])
-AC_CHECK_FUNCS([memicmp stpcpy strsep strlwr strtoul memmove stricmp strtol \
-                memrchr isascii timegm getrusage setrlimit stat setlocale   \
-                flockfile funlockfile getpwnam getpwuid \
-                getenv inet_pton strpbrk])
+AC_CHECK_FUNCS([atexit canonicalize_file_name clock_gettime ctermid  \
+                fcntl flockfile fsync ftello ftruncate funlockfile   \
+                getaddrinfo getenv getpagesize getpwnam getpwuid     \
+                getrlimit getrusage gettimeofday gmtime_r            \
+                inet_ntop inet_pton isascii lstat                    \
+                memicmp memmove memrchr mmap nl_langinfo pipe        \
+                raise rand setenv setlocale setrlimit sigaction      \
+                sigprocmask stat stpcpy strcasecmp strerror strftime \
+                stricmp strlwr strncasecmp strpbrk strsep            \
+                strtol strtoul strtoull tcgetattr timegm times       \
+                ttyname unsetenv wait4 waitpid ])
 
 # On some systems (e.g. Solaris) nanosleep requires linking to librl.
 # Given that we use nanosleep only as an optimization over a select

-----------------------------------------------------------------------

Summary of changes:
 common/name-value.h |  2 +-
 configure.ac        | 23 +++++++++++------------
 2 files changed, 12 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list