summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2003-04-02 06:35:56 (GMT)
committermdejong <mdejong>2003-04-02 06:35:56 (GMT)
commit078b1919159c88a5ca93dbc9a7cd3459af65c1ea (patch)
treed512c7e6afc94607268df2d10d5604280571bcbc /unix/tcl.m4
parentd841a4739e902010e8d6a1abd084639af7c53139 (diff)
downloadtcl-078b1919159c88a5ca93dbc9a7cd3459af65c1ea.zip
tcl-078b1919159c88a5ca93dbc9a7cd3459af65c1ea.tar.gz
tcl-078b1919159c88a5ca93dbc9a7cd3459af65c1ea.tar.bz2
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside the BeOS block since doing it later broke the build under SuSE 7.3. [Bug 713128]
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