Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 2018-01-11
  • Loading branch information
michaelortmann committed Jun 13, 2024
1 parent d58f563 commit 29df7e2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions m4/tcl.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#
# Copyright (c) 1999-2000 Ajuba Solutions.
# Copyright (c) 2002-2005 ActiveState Corporation.
# Copyright (c) 2012-2018 Sean Woods.
# Copyright (c) 2017 - 2024 Eggheads Development Team
#
# Original Tcl/TEA license.terms information for this file:
Expand Down Expand Up @@ -53,7 +54,7 @@ AC_PREREQ([2.71])

dnl TEA extensions pass us the version of TEA they think they
dnl are compatible with (must be set in TEA_INIT below)
dnl TEA_VERSION="3.10"
dnl TEA_VERSION="4.0"

# Possible values for key variables defined:
#
Expand Down Expand Up @@ -98,7 +99,8 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [
# we reset no_tcl in case something fails here
no_tcl=true
AC_ARG_WITH(tcl,
AS_HELP_STRING([--with-tcl],[directory containing tcl configuration (tclConfig.sh)]),
AS_HELP_STRING([--with-tcl],
[directory containing tcl configuration (tclConfig.sh)]),
with_tclconfig="${withval}")
AC_MSG_CHECKING([for Tcl configuration])
AC_CACHE_VAL(ac_cv_c_tclconfig,[
Expand Down Expand Up @@ -183,9 +185,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/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` \
`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 Expand Up @@ -437,8 +439,8 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [
CYGPATH=echo
],[
TEA_PLATFORM="windows"
AC_CHECK_PROG(CYGPATH, cygpath, cygpath -m, echo)
])
AC_CHECK_PROG(CYGPATH, cygpath, cygpath -m, echo) ]
)
CC=$hold_cc
AC_MSG_RESULT($TEA_PLATFORM)
Expand Down

0 comments on commit 29df7e2

Please sign in to comment.