From b74626bbff3b2903d654996980206dd0b40083c6 Mon Sep 17 00:00:00 2001 From: mdejong Date: Thu, 27 Mar 2003 07:13:29 +0000 Subject: * unix/configure: Regen. * unix/tcl.m4: Update from Tcl to get BeOS changes. --- ChangeLog | 5 +++++ unix/configure | 9 +++++++++ unix/tcl.m4 | 16 ++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94111b7..f3cb456 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-26 Mo DeJong + + * unix/configure: Regen. + * unix/tcl.m4: Update from Tcl to get BeOS changes. + 2003-03-22 Kevin Kenny * win/makefile.vc: diff --git a/unix/configure b/unix/configure index bb4b437..de5d1b5 100755 --- a/unix/configure +++ b/unix/configure @@ -4538,6 +4538,15 @@ echo "$as_me: WARNING: \"64bit mode not supported with GCC on $system\"" >&2;} fi fi ;; + BeOS*) + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -nostart" + SHLIB_LD_LIBS='${LIBS}' + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="" + ;; BSD/OS-2.1*|BSD/OS-3*) SHLIB_CFLAGS="" SHLIB_LD="shlicc -r" diff --git a/unix/tcl.m4 b/unix/tcl.m4 index a9baae1..239fe4c 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -920,6 +920,15 @@ dnl AC_CHECK_TOOL(AR, ar) fi fi ;; + BeOS*) + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -nostart" + SHLIB_LD_LIBS='${LIBS}' + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="" + ;; BSD/OS-2.1*|BSD/OS-3*) SHLIB_CFLAGS="" SHLIB_LD="shlicc -r" @@ -2328,6 +2337,13 @@ AC_DEFUN(SC_TCL_LINK_LIBS, [ 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 -- cgit v0.12