[PATCH:xdm 1/2] Add Solaris 11 libsocket to list of libraries to search for getifaddrs()
Alan Coopersmith
alan.coopersmith at oracle.com
Mon May 16 17:52:36 PDT 2011
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 089329f..0c79999 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,8 +59,9 @@ AM_CONDITIONAL(HAVE_MKTEMP_COMMAND, test x$MKTEMP_COMMAND != x)
# pre-pends the found library to $LIBS.
#
#------------------------------------------------------------------------------
-# Function getifaddrs() comes from the C library or the -lnsl name service library
-AC_SEARCH_LIBS([getifaddrs], [nsl])
+# Function getifaddrs() comes from the C library, Solaris 11 -lsocket, or
+# the -lnsl name service library
+AC_SEARCH_LIBS([getifaddrs], [socket nsl])
# Function getspnam() comes from the C library, System V -lsec, UnixWare 7 -lgen
# or Old Linux versions -lshadow
--
1.7.3.2
More information about the xorg-devel
mailing list