aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Kibbey <[email protected]>2012-11-22 22:17:33 +0000
committerWerner Koch <[email protected]>2012-11-26 13:34:11 +0000
commit66331e138ec17e176cc3f45bb095820866d5358c (patch)
treee2a6a6657cd2866d64d7818a2a55a146bf974e24
parentDo not use a broken ttyname. (diff)
downloadgnupg-66331e138ec17e176cc3f45bb095820866d5358c.tar.gz
gnupg-66331e138ec17e176cc3f45bb095820866d5358c.zip
Check for inet_addr() in -lnsl.
* configure.ac: Check for inet_addr() in libnsl. -- OpenSolaris/OpenIndiana requires this.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e821b997e..db5112101 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1177,6 +1177,8 @@ AC_DECL_SYS_SIGLIST
gl_HEADER_SYS_SOCKET
gl_TYPE_SOCKLEN_T
+AC_SEARCH_LIBS([inet_addr], [nsl])
+
AC_ARG_ENABLE(endian-check,
AC_HELP_STRING([--disable-endian-check],
[disable the endian check and trust the OS provided macros]),