diff options
author | mdejong <mdejong@noemail.net> | 2001-11-09 10:56:35 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2001-11-09 10:56:35 (GMT) |
commit | e9388dffb7b629832811c1df4afebd81d9b209d0 (patch) | |
tree | 1c45625c5df8cdcaf0b8663d8176337767d16068 /unix/dltest | |
parent | 55bd8e2721733d0ab8a973d2df5a5969c5ad9f29 (diff) | |
download | tcl-e9388dffb7b629832811c1df4afebd81d9b209d0.zip tcl-e9388dffb7b629832811c1df4afebd81d9b209d0.tar.gz tcl-e9388dffb7b629832811c1df4afebd81d9b209d0.tar.bz2 |
Enable thread support under FreeBSD. [Tcl bug 473708]
* unix/configure: Regen.
* unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions
in libc_r and enable thread support if found.
* unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in
the Makefile to properly link a shared library.
FossilOrigin-Name: c2f6ece1d7415685848c92e3dffb6083256b528c
Diffstat (limited to 'unix/dltest')
-rw-r--r-- | unix/dltest/Makefile.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/unix/dltest/Makefile.in b/unix/dltest/Makefile.in index b12f7a4..8ed727f 100644 --- a/unix/dltest/Makefile.in +++ b/unix/dltest/Makefile.in @@ -1,7 +1,7 @@ # This Makefile is used to create several test cases for Tcl's load # command. It also illustrates how to take advantage of configuration # exported by Tcl to set up Makefiles for shared libraries. -# RCS: @(#) $Id: Makefile.in,v 1.7 2001/11/09 07:11:26 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.8 2001/11/09 10:56:36 mdejong Exp $ TCL_DBGX = @TCL_DBGX@ CC = @CC@ @@ -9,6 +9,7 @@ LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @TCL_LIBS@ AC_FLAGS = @EXTRA_CFLAGS@ SHLIB_CFLAGS = @SHLIB_CFLAGS@ SHLIB_LD = @SHLIB_LD@ +SHLIB_LD_LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@ SHLIB_SUFFIX = @SHLIB_SUFFIX@ SHLIB_VERSION = @SHLIB_VERSION@ SRC_DIR = @srcdir@ @@ -22,23 +23,23 @@ all: pkga${SHLIB_SUFFIX} pkgb${SHLIB_SUFFIX} pkgc${SHLIB_SUFFIX} pkgd${SHLIB_SUF pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c - ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${LIBS} + ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${SHLIB_LD_LIBS} pkgb${SHLIB_SUFFIX}: $(SRC_DIR)/pkgb.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgb.c - ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${LIBS} + ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${SHLIB_LD_LIBS} pkgc${SHLIB_SUFFIX}: $(SRC_DIR)/pkgc.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgc.c - ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${LIBS} + ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${SHLIB_LD_LIBS} pkgd${SHLIB_SUFFIX}: $(SRC_DIR)/pkgd.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgd.c - ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${LIBS} + ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${SHLIB_LD_LIBS} pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkge.c - ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${LIBS} + ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${SHLIB_LD_LIBS} clean: rm -f *.o *${SHLIB_SUFFIX} config.cache config.log config.status lib.exp |