summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
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 /unix/tcl.m4
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]
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
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` \