aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac5
-rw-r--r--configure.ac.pamphlet5
3 files changed, 6 insertions, 8 deletions
diff --git a/configure b/configure
index c9437a21..30a04657 100755
--- a/configure
+++ b/configure
@@ -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