[git] Assuan - branch, master, updated. libassuan-2.4.2-7-gc52829e

by Werner Koch cvs at cvs.gnupg.org
Wed Jul 13 16:25:25 CEST 2016


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 "IPC library used by GnuPG".

The branch, master has been updated
       via  c52829e32fe9108fc0e39d478eede24ac5e694ac (commit)
      from  678f6063b53e4a2cc919f5a8b9d8bde743839c54 (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 c52829e32fe9108fc0e39d478eede24ac5e694ac
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Jul 13 16:21:06 2016 +0200

    Improve test for inet_pton on Solaris.
    
    * configure.ac (HAVE_INET_PTON): Add a fallback test.
    --
    
    GnuPG-bug-id: 1476
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/configure.ac b/configure.ac
index 755a55c..9a6588b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -363,6 +363,16 @@ AM_PATH_GPG_ERROR(1.17,, AC_MSG_ERROR([libgpg-error was not found]))
 AC_CHECK_FUNCS([flockfile funlockfile inet_pton stat getaddrinfo \
                 getrlimit ])
 
+# If we didn't find inet_pton, it might be in -lsocket (which might
+# require -lnsl)
+if test X"$ac_cv_func_inet_pton" != X"yes" ; then
+    AC_SEARCH_LIBS([inet_pton],[socket],[],[],[-lnsl])
+    if test X"$ac_cv_search_inet_pton" != X"no" ; then
+        AC_DEFINE([HAVE_INET_PTON],1,[Define to 1 if you have `inet_pton'.])
+    fi
+fi
+
+
 # On some systems (e.g. Solaris) nanosleep requires linking to librl.
 # Given that we use nanosleep only as an optimization over a select
 # based wait function we want it only if it is available in libc.

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

Summary of changes:
 configure.ac | 10 ++++++++++
 1 file changed, 10 insertions(+)


hooks/post-receive
-- 
IPC library used by GnuPG
http://git.gnupg.org




More information about the Gnupg-commits mailing list