[git] GPG-ERROR - branch, master, updated. gpgrt-1.29-3-ge357490
by NIIBE Yutaka
cvs at cvs.gnupg.org
Thu Apr 12 02:44:59 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 "Error codes used by GnuPG et al.".
The branch, master has been updated
via e35749023ca68de6f1f85d3072f7b36fd6f6fe7c (commit)
from 8ef76d9373db16f1ca176f9c87c8dac2758c8b85 (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 e35749023ca68de6f1f85d3072f7b36fd6f6fe7c
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Thu Apr 12 09:40:19 2018 +0900
build: Check -lsocket -lnsl for Solaris.
* configure.ac: Check inet_addr for -lnsl, and socket for -lsocket.
--
Once I used LIB_SOCKET_NSL for the variable name, but it is already
used by AX_LIB_SOCKET_NSL in autoconf-archive as an alias of the
macro. So, I changed the variable name.
GnuPG-bug-id: 3869
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
diff --git a/configure.ac b/configure.ac
index e1f8858..2026128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -462,6 +462,20 @@ AC_SEARCH_LIBS([sched_yield], [rt posix4],
config_libs="$config_libs $LIB_SCHED_YIELD"
fi])
+LIB_NETWORK=
+AC_SUBST([LIB_NETWORK])
+AC_SEARCH_LIBS([inet_addr], [nsl],
+ [if test "$ac_cv_search_inet_addr" != "none required"; then
+ LIB_NETWORK=$ac_cv_search_inet_addr
+ fi])
+AC_SEARCH_LIBS([socket], [socket],
+ [if test "$ac_cv_search_socket" != "none required"; then
+ LIB_NETWORK="$ac_cv_search_socket $LIB_NETWORK"
+ fi], [], [$LIB_NETWORK])
+if test "x$LIB_NETWORK" != x; then
+ config_libs="$config_libs $LIB_NETWORK"
+fi
+
# Check for optional readline support
GNUPG_CHECK_READLINE
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 14 ++++++++++++++
1 file changed, 14 insertions(+)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list