-# 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
#
# 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)