diff options
author | stanton <stanton> | 1999-04-24 01:46:51 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-04-24 01:46:51 (GMT) |
commit | d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64 (patch) | |
tree | ee21dbcb6a2c11333b3f9276847c8e7e44e47052 /unix | |
parent | 7fe0693f639b20e19c4cb0ad38d091809e04bead (diff) | |
download | tcl-d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64.zip tcl-d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64.tar.gz tcl-d6f3ad620713ca2ff8a9b7cb854cdc28aa20ea64.tar.bz2 |
merged 8.1.0 changes into mainline
Diffstat (limited to 'unix')
-rw-r--r-- | unix/README | 8 | ||||
-rw-r--r-- | unix/configure.in | 15 |
2 files changed, 20 insertions, 3 deletions
diff --git a/unix/README b/unix/README index 77e931e..117edc8 100644 --- a/unix/README +++ b/unix/README @@ -1,9 +1,15 @@ +Tcl UNIX README +--------------- + This is the directory where you configure, compile, test, and install UNIX versions of Tcl. This directory also contains source files for Tcl that are specific to UNIX. Some of the files in this directory are used on the PC or Mac platform too, but they all depend on UNIX (POSIX/ANSI C) interfaces and some of them only make sense under UNIX. +Updated forms of the information found in this file is available at: + http://www.scriptics.com/support/howto/compile.html#unix + The rest of this file contains instructions on how to do this. The release should compile and run either "out of the box" or with trivial changes on any UNIX-like system that approximates POSIX, BSD, or System @@ -12,7 +18,7 @@ SGI, as well as PCs running Linux, BSDI, and SCO UNIX. To compile for a PC running Windows, see the README file in the directory ../win. To compile for a Macintosh, see the README file in the directory ../mac. -RCS: @(#) $Id: README,v 1.4 1999/04/16 00:48:03 stanton Exp $ +RCS: @(#) $Id: README,v 1.5 1999/04/24 01:46:54 stanton Exp $ How To Compile And Install Tcl: ------------------------------- diff --git a/unix/configure.in b/unix/configure.in index 711863f..ab8e791 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -2,7 +2,7 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tcl installation dnl to configure the system for the local environment. AC_INIT(../generic/tcl.h) -# RCS: @(#) $Id: configure.in,v 1.32 1999/04/21 21:50:33 rjohnson Exp $ +# RCS: @(#) $Id: configure.in,v 1.33 1999/04/24 01:46:54 stanton Exp $ TCL_VERSION=8.1 TCL_MAJOR_VERSION=8 @@ -907,7 +907,7 @@ case $system in LD_FLAGS="-Wl,-Bexport" LD_SEARCH_FLAGS="" ;; - NetBSD-*|FreeBSD-*|OpenBSD-*) + NetBSD-*|FreeBSD-[12].*|OpenBSD-*) # Not available on all versions: check for include file. AC_CHECK_HEADER(dlfcn.h, [ SHLIB_CFLAGS="-fpic" @@ -935,6 +935,17 @@ case $system in TCL_UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' TCL_LIB_VERSIONS_OK=nodots + ;; + FreeBSD-*) + # FreeBSD 3.* and greater have ELF. + SHLIB_CFLAGS="-fpic" + SHLIB_LD="ld -Bshareable -x" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" + LD_FLAGS="" + LD_SEARCH_FLAGS="" ;; NEXTSTEP-*) SHLIB_CFLAGS="" |