Signed-off-by: Alan Coopersmith <[email protected]>
---
 configure.ac |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 276ea3e..67b33f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,10 @@ if test "x$XTRANS" = xyes ; then
 
        XTRANS_PKG='xtrans'
        AC_DEFINE([USE_XTRANS], [1], [Use xtrans for socket connection code])
+else
+       # SVR4 hides these in libraries other than libc
+       AC_SEARCH_LIBS(socket, [socket])
+       AC_SEARCH_LIBS(gethostbyname, [nsl])
 fi
 
 # Checks for pkg-config packages
-- 
1.7.9.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to