From 625dee8fa865428cdd03e42c771f3ae7a8981ec0 Mon Sep 17 00:00:00 2001 From: mdejong Date: Thu, 20 Dec 2001 21:28:57 +0000 Subject: * 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] --- ChangeLog | 6 ++++++ unix/tcl.m4 | 4 ++-- 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 + + * 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 * 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` \ -- cgit v0.12