summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2003-04-02 06:38:22 (GMT)
committermdejong <mdejong>2003-04-02 06:38:22 (GMT)
commit20cd923c20d063b70a4815998f45cd0443742667 (patch)
tree7be3e507b0298394aa7c201e79bbe3c74c97fecc /unix/tcl.m4
parent5dd4bde76554ecf958bc38bdac2bc8b475c44892 (diff)
downloadtk-20cd923c20d063b70a4815998f45cd0443742667.zip
tk-20cd923c20d063b70a4815998f45cd0443742667.tar.gz
tk-20cd923c20d063b70a4815998f45cd0443742667.tar.bz2
* unix/configure: Regen.
* unix/tcl.m4: Update from Tcl.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m414
1 files changed, 7 insertions, 7 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 67128a2..10f9a06 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -928,6 +928,13 @@ dnl AC_CHECK_TOOL(AR, ar)
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS=""
+
+ #-----------------------------------------------------------
+ # Check for inet_ntoa in -lbind, for BeOS (which also needs
+ # -lsocket, even if the network functions are in -lnet which
+ # is always linked to, for compatibility.
+ #-----------------------------------------------------------
+ AC_CHECK_LIB(bind, inet_ntoa, [LIBS="$LIBS -lbind -lsocket"])
;;
BSD/OS-2.1*|BSD/OS-3*)
SHLIB_CFLAGS=""
@@ -2336,13 +2343,6 @@ AC_DEFUN(SC_TCL_LINK_LIBS, [
fi
AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl, gethostbyname,
[LIBS="$LIBS -lnsl"])])
-
- #--------------------------------------------------------------------
- # Check for inet_ntoa in -lbind, for BeOS (which also needs -lsocket,
- # even if the network functions are in -lnet which is always linked
- # to, for compatibility.
- #--------------------------------------------------------------------
- AC_CHECK_LIB(bind, inet_ntoa, [LIBS="$LIBS -lbind -lsocket"])
# Don't perform the eval of the libraries here because DL_LIBS
# won't be set until we call SC_CONFIG_CFLAGS