summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormdejong <mdejong>2001-12-20 21:28:57 (GMT)
committermdejong <mdejong>2001-12-20 21:28:57 (GMT)
commit625dee8fa865428cdd03e42c771f3ae7a8981ec0 (patch)
treeb408bef9e47b7e455865371d12d331f2b342801a
parent8491b614a2167922567d4caef7457ade639377ae (diff)
downloadtcl-625dee8fa865428cdd03e42c771f3ae7a8981ec0.zip
tcl-625dee8fa865428cdd03e42c771f3ae7a8981ec0.tar.gz
tcl-625dee8fa865428cdd03e42c771f3ae7a8981ec0.tar.bz2
* 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]
-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` \