mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
d380ccd4c1
Submitted by: Ade Lovett <ade@lovett.com>
34 lines
936 B
Plaintext
34 lines
936 B
Plaintext
--- configure.in.orig Thu Oct 21 21:58:10 1999
|
|
+++ configure.in Wed Nov 3 16:51:22 1999
|
|
@@ -236,7 +236,7 @@
|
|
tcl_prefix=$with_tcl)
|
|
|
|
for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do
|
|
- if test -r $tcl_prefix/lib/tclConfig.sh; then
|
|
+ if test -r $tcl_prefix/lib/tcl8.2/tclConfig.sh; then
|
|
break;
|
|
fi
|
|
done
|
|
@@ -245,18 +245,18 @@
|
|
AC_MSG_ERROR([could't find tclConfig.sh])
|
|
fi
|
|
|
|
-file=${tcl_prefix}/lib/tclConfig.sh
|
|
+file=${tcl_prefix}/lib/tcl8.2/tclConfig.sh
|
|
if test ! -r ${file}; then
|
|
AC_MSG_ERROR(tclConfig.sh doesn't exist)
|
|
fi
|
|
-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
|
|
+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.2])
|
|
. $file
|
|
|
|
if test $TCL_MAJOR_VERSION -lt 8; then
|
|
AC_MSG_ERROR([tcl version 8.0 or higher is required.])
|
|
fi
|
|
|
|
-TCL_CFLAGS="-I$TCL_SRC_DIR"
|
|
+TCL_CFLAGS="-I$tcl_prefix/lib/tcl8.2"
|
|
TCL_LDFLAGS="$TCL_LIB_SPEC"
|
|
AC_SUBST(TCL_CFLAGS)
|
|
AC_SUBST(TCL_LDFLAGS)
|