From 9f89c0462109bafa8c79d40275e368c72cb67301 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Tue, 6 Jan 2004 08:02:07 +0000 Subject: added LIBSOCKET and LIBNSL --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index a51cae9..cc42cb1 100644 --- a/configure.ac +++ b/configure.ac @@ -109,6 +109,14 @@ AC_CHECK_FUNCS([gethostbyname socket]) AC_CHECK_TYPE(ssize_t, int) +# ------------------------------------------ +dnl Check socket library (for Solaris) +# ------------------------------------------ +AC_CHECK_LIB(socket, socket, [LIBSOCKET="-lsocket"]) +AC_SUBST(LIBSOCKET) +AC_CHECK_LIB(nsl, gethostbyname, [LIBNSL="-lnsl"]) +AC_SUBST(LIBNSL) + dnl dnl The following new parameters were added to offer dnl the ability to specify the location of the libxml -- cgit v1.1-32-gdbae