diff options
author | rjohnson <rjohnson> | 1999-04-15 00:35:21 (GMT) |
---|---|---|
committer | rjohnson <rjohnson> | 1999-04-15 00:35:21 (GMT) |
commit | 30ffedbce751526afee984266b2870203c067cb9 (patch) | |
tree | 4a158adf1b44b6ca619021e9ab19a32112baeae1 | |
parent | 48fa0557eed72ddae0ceb8868eb499e251f946ad (diff) | |
download | tcl-core_8_1_branch_old.zip tcl-core_8_1_branch_old.tar.gz tcl-core_8_1_branch_old.tar.bz2 |
Fixed problem with LD_SEARCH_FLAGS on Solaris. It's different
core_8_1_branch_old
for gcc than cc.
-rw-r--r-- | unix/configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/unix/configure.in b/unix/configure.in index c82f063..1b55276 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.1.2.15 1999/04/06 02:05:38 stanton Exp $ +# RCS: @(#) $Id: configure.in,v 1.1.2.16 1999/04/15 00:35:21 rjohnson Exp $ TCL_VERSION=8.1 TCL_MAJOR_VERSION=8 @@ -1075,7 +1075,11 @@ case $system in SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" - LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' + if test "$CC" = "gcc" -o `$CC -v 2>&1 | grep -c gcc` != "0" ; then + LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' + else + LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' + fi ;; ULTRIX-4.*) SHLIB_CFLAGS="-G 0" |