Tcl Source Code

Check-in [3608acd208]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed problem with LD_SEARCH_FLAGS on Solaris. It's different for gcc than cc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | core-8-1-branch-old
Files: files | file ages | folders
SHA1:3608acd2085f6b17aefc9e69c5fb6ef93fa9a81e
User & Date: rjohnson 1999-04-15 00:35:21
Original Comment: Fixed problem with LD_SEARCH_FLAGS on Solaris. It's different for gcc than cc.
Context
1999-04-15
00:35
Fixed problem with LD_SEARCH_FLAGS on Solaris. It's different for gcc than cc. Closed-Leaf check-in: 3608acd208 user: rjohnson tags: core-8-1-branch-old
1999-04-14
00:33
Fixed comments in code that referred to APIs that no longer exist, were misspelled, or have been upd... check-in: 2d7ffe4998 user: surles tags: core-8-1-branch-old
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to unix/configure.in.

1
2
3
4
5
6
7
8
9
10
11
12
....
1071
1072
1073
1074
1075
1076
1077

1078



1079
1080
1081
1082
1083
1084
1085
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 $

TCL_VERSION=8.1
TCL_MAJOR_VERSION=8
TCL_MINOR_VERSION=1
TCL_PATCH_LEVEL=b3
VERSION=${TCL_VERSION}

................................................................................
        # Note: need the LIBS below, otherwise Tk won't find Tcl's
        # symbols when dynamically loaded into tclsh.

        SHLIB_LD_LIBS='${LIBS}'
        SHLIB_SUFFIX=".so"
        DL_OBJS="tclLoadDl.o"
        DL_LIBS="-ldl"

        LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'



        ;;
    ULTRIX-4.*)
	SHLIB_CFLAGS="-G 0"
	SHLIB_SUFFIX=".a"
	SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
	SHLIB_LD_LIBS='${LIBS}'
	DL_OBJS="tclLoadAout.o"



|







 







>
|
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
....
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
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.16 1999/04/15 00:35:21 rjohnson Exp $

TCL_VERSION=8.1
TCL_MAJOR_VERSION=8
TCL_MINOR_VERSION=1
TCL_PATCH_LEVEL=b3
VERSION=${TCL_VERSION}

................................................................................
        # Note: need the LIBS below, otherwise Tk won't find Tcl's
        # symbols when dynamically loaded into tclsh.

        SHLIB_LD_LIBS='${LIBS}'
        SHLIB_SUFFIX=".so"
        DL_OBJS="tclLoadDl.o"
        DL_LIBS="-ldl"
	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"
	SHLIB_SUFFIX=".a"
	SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
	SHLIB_LD_LIBS='${LIBS}'
	DL_OBJS="tclLoadAout.o"