summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-14 18:47:29 +0000
committerjbj <devnull@localhost>2002-08-14 18:47:29 +0000
commit372fe8d762b5d501f546e37996d5e5e9185ba558 (patch)
tree4793311d9d291825b6ae66943f63947965e14675
parent8faf9d1ea6d5743be84b20e509d52bab283ece71 (diff)
downloadrpm-372fe8d762b5d501f546e37996d5e5e9185ba558.tar.gz
rpm-372fe8d762b5d501f546e37996d5e5e9185ba558.tar.bz2
rpm-372fe8d762b5d501f546e37996d5e5e9185ba558.zip
db-4.1.17 orphans.
CVS patchset: 5633 CVS date: 2002/08/14 18:47:29
-rw-r--r--db/dist/aclocal/tcl.ac9
1 files changed, 6 insertions, 3 deletions
diff --git a/db/dist/aclocal/tcl.ac b/db/dist/aclocal/tcl.ac
index a86ee7ca7..f1f97758c 100644
--- a/db/dist/aclocal/tcl.ac
+++ b/db/dist/aclocal/tcl.ac
@@ -1,4 +1,4 @@
-# Id: tcl.ac,v 11.12 2001/11/10 16:40:37 bostic Exp
+# Id: tcl.ac,v 11.13 2002/06/07 12:33:58 dda Exp
# The SC_* macros in this file are from the unix/tcl.m4 files in the Tcl
# 8.3.0 distribution, with some minor changes. For this reason, license
@@ -98,13 +98,16 @@ AC_DEFUN(SC_LOAD_TCLCONFIG, [
#
# If the DB Tcl library isn't loaded with the Tcl spec and library
# flags on AIX, the resulting libdb_tcl-X.Y.so.0 will drop core at
- # load time. [#4843]
+ # load time. [#4843] Furthermore, with Tcl 8.3, the link flags
+ # given by the Tcl spec are insufficient for our use. [#5779]
#
case "$host_os" in
+ aix4.[2-9].*)
+ LIBTSO_LIBS="$LIBTSO_LIBS $TCL_LIB_SPEC $TCL_LIB_FLAG"
+ LIBTSO_LIBS="$LIBTSO_LIBS -L$TCL_EXEC_PREFIX/lib -ltcl$TCL_VERSION";;
aix*)
LIBTSO_LIBS="$LIBTSO_LIBS $TCL_LIB_SPEC $TCL_LIB_FLAG";;
esac
-
AC_SUBST(TCL_BIN_DIR)
AC_SUBST(TCL_SRC_DIR)
AC_SUBST(TCL_LIB_FILE)