--- src/configure.ac 2021-04-05 15:12:49.000000000 +0200 +++ src/configure.ac 2021-04-05 15:17:45.000000000 +0200 @@ -2023,14 +2015,7 @@ tcldll=`echo 'puts libtcl[[info tclversion]][[info sharedlibextension]]' | $vi_cv_path_tcl -` AC_MSG_CHECKING(for location of Tcl include) - if test "x$MACOS_X" != "xyes"; then - tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver" - else - dnl For all macOS, use the value from TCL in case use of, say, homebrew - dnl For Mac OS X 10.3, use the OS-provided framework location - dnl For Mac OS X 10.14, the OS-provided framework location doesn't contain the headers, so also check the Xcode SDK - tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /System/Library/Frameworks/Tcl.framework/Headers `xcrun --show-sdk-path`/System/Library/Frameworks/Tcl.framework/Versions/Current/Headers" - fi + tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver" TCL_INC= for try in $tclinc; do if test -f "$try/tcl.h"; then @@ -2045,16 +2030,8 @@ fi if test -z "$SKIP_TCL"; then AC_MSG_CHECKING(for location of tclConfig.sh script) - if test "x$MACOS_X" != "xyes"; then - tclcnf=`echo $tclinc | sed s/include/lib/g` - tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`" - else - dnl For all macOS, use the value from TCL in case use of, say, homebrew - dnl For Mac OS X 10.3, use the OS-provided framework location - dnl For Mac OS X 10.14, the OS-provided framework location doesn't contain the headers, so also check the Xcode SDK - tclcnf=`echo $tclinc | sed s/include/lib/g` - tclcnf="$tclcnf /System/Library/Frameworks/Tcl.framework `xcrun --show-sdk-path`/System/Library/Frameworks/Tcl.framework" - fi + tclcnf=`echo $tclinc | sed s/include/lib/g` + tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`" for try in $tclcnf; do if test -f "$try/tclConfig.sh"; then AC_MSG_RESULT($try/tclConfig.sh)