Skip to content

Commit

Permalink
revert to more generic search paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Jul 13, 2024
1 parent 91f2249 commit b23b56c
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions m4/tcl.m4
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [
AS_HELP_STRING([--with-tcl],
[directory containing tcl configuration (tclConfig.sh)]),
[with_tclconfig="${withval}"])
AC_ARG_WITH(tcl8,
AS_HELP_STRING([--with-tcl8],
[Compile for Tcl8 in Tcl9 environment]),
[with_tcl8="${withval}"])
AC_MSG_CHECKING([for Tcl configuration])
AC_CACHE_VAL(ac_cv_c_tclconfig,[
Expand Down Expand Up @@ -190,18 +186,9 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [
`ls -d /usr/pkg/lib 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
`ls -d /usr/lib64 2>/dev/null` \
`ls -d /usr/lib/tcl9.0 2>/dev/null` \
`ls -d /usr/lib/tcl8.7 2>/dev/null` \
`ls -d /usr/lib/tcl8.6 2>/dev/null` \
`ls -d /usr/lib/tcl8.5 2>/dev/null` \
`ls -d /usr/local/lib/tcl9.0 2>/dev/null` \
`ls -d /usr/local/lib/tcl8.7 2>/dev/null` \
`ls -d /usr/local/lib/tcl8.6 2>/dev/null` \
`ls -d /usr/local/lib/tcl8.5 2>/dev/null` \
`ls -d /usr/local/lib/tcl/tcl9.0 2>/dev/null` \
`ls -d /usr/local/lib/tcl/tcl8.7 2>/dev/null` \
`ls -d /usr/local/lib/tcl/tcl8.6 2>/dev/null` \
`ls -d /usr/local/lib/tcl/tcl8.5 2>/dev/null` \
`ls -d /usr/lib/tcl[[8-9]].[[0-9]] 2>/dev/null` \
`ls -d /usr/local/lib/tcl[[8-9]].[[0-9]] 2>/dev/null` \
`ls -d /usr/local/lib/tcl/tcl[[8-9]].[[0-9]] 2>/dev/null` \
; do
if test -f "$i/tclConfig.sh" ; then
ac_cv_c_tclconfig="`(cd $i; pwd)`"
Expand Down

0 comments on commit b23b56c

Please sign in to comment.