diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | configure.ac.pamphlet | 5 |
3 files changed, 6 insertions, 8 deletions
@@ -13934,7 +13934,7 @@ $as_echo "$ac_cv_search_accept" >&6; } ac_res=$ac_cv_search_accept if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - axiom_c_runtime_extra="-lsocket" + else { { $as_echo "$as_me:$LINENO: error: socket library not found" >&5 $as_echo "$as_me: error: socket library not found" >&2;} @@ -13969,7 +13969,7 @@ return gethostbyname (); return 0; } _ACEOF -for ac_lib in '' nls; do +for ac_lib in '' nsl; do if test -z "$ac_lib"; then ac_res="none required" else diff --git a/configure.ac b/configure.ac index e9a15dd5..8a414dfc 100644 --- a/configure.ac +++ b/configure.ac @@ -435,9 +435,8 @@ fi case $host in *solaris*) AC_SEARCH_LIBS([accept], [socket], - [axiom_c_runtime_extra="-lsocket"], - [AC_MSG_ERROR([socket library not found])]) - AC_SEARCH_LIBS([gethostbyname], [nls]) + [], [AC_MSG_ERROR([socket library not found])]) + AC_SEARCH_LIBS([gethostbyname], [nsl]) ;; *) ;; esac diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index 8aa4ca89..efa5bcd5 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -277,9 +277,8 @@ fi case $host in *solaris*) AC_SEARCH_LIBS([accept], [socket], - [axiom_c_runtime_extra="-lsocket"], - [AC_MSG_ERROR([socket library not found])]) - AC_SEARCH_LIBS([gethostbyname], [nls]) + [], [AC_MSG_ERROR([socket library not found])]) + AC_SEARCH_LIBS([gethostbyname], [nsl]) ;; *) ;; esac |