summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--unix/tcl.m44
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ca470c0..c298a9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-21 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
+ Search for config file using exec_prefix instead of
+ prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
+
2001-12-21 Daniel Steffen <das@users.sourceforge.net>
* unix/tcl.m4: fixed incorrect SHLIB_LD_LIBS
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 559f422..2b146e7 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -58,7 +58,7 @@ AC_DEFUN(SC_PATH_TCLCONFIG, [
# check in a few common install locations
if test x"${ac_cv_c_tclconfig}" = x ; then
- for i in `ls -d ${prefix}/lib 2>/dev/null` \
+ for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
`ls -d /usr/local/lib 2>/dev/null` \
`ls -d /usr/contrib/lib 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
@@ -153,7 +153,7 @@ AC_DEFUN(SC_PATH_TKCONFIG, [
fi
# check in a few common install locations
if test x"${ac_cv_c_tkconfig}" = x ; then
- for i in `ls -d ${prefix}/lib 2>/dev/null` \
+ for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
`ls -d /usr/local/lib 2>/dev/null` \
`ls -d /usr/contrib/lib 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \