diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5753664..e812efe 100644 --- a/configure.ac +++ b/configure.ac @@ -88,6 +88,13 @@ if test "$os_unix" = "yes"; then AC_MSG_ERROR([could not find dlopen]) ]) + # for Solaris we need -lsocket -lnsl for socket stuff, gethostbyname + # is just a dummy to find -lnsl + AC_SEARCH_LIBS([gethostbyname], [nsl]) + AC_SEARCH_LIBS([connect], [socket], [], [ + AC_MSG_ERROR([could not find socket]) + ]) + # These are thngs we can work around AC_CHECK_HEADERS([locale.h sys/resource.h]) AC_CHECK_MEMBERS([struct dirent.d_type],,,[#include <dirent.h>]) |