diff --git a/README.new b/README.new index dee39bb2d..634d9b92a 100644 --- a/README.new +++ b/README.new @@ -187,5 +187,7 @@ Lmod 8.7+ (8.7.51) * Fix bug in load test. (8.7.52) * Add MName:isVisible() so that load hooks can figure out if a loaded module is is visible or not. (8.7.53) * updating docs to include link to 165_debugging_lmod.rst +W.I.P.: + (8.7.54) * Disallow fast TCL interp with TCL 9+. This will hopely fixed in the future (;->) diff --git a/configure b/configure index 5910333a3..94d3e07df 100755 --- a/configure +++ b/configure @@ -4641,9 +4641,9 @@ fi DIR=$(xcrun --show-sdk-path) TCL_INCLUDE="-I${DIR}/usr/include" else - for i in "" tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do - if test -f /usr/include/$i/tcl.h ; then - TCL_INCLUDE="-I/usr/include/$i" + for i in /usr/include /usr/include/tcl /usr/include/tcl9* /usr/include/tcl8* ; do + if test -f $i/tcl.h ; then + TCL_INCLUDE="-I$i" break; fi done diff --git a/configure.ac b/configure.ac index cefffd6e5..43e1260a5 100644 --- a/configure.ac +++ b/configure.ac @@ -770,9 +770,9 @@ if test "$FAST_TCL_INTERP" = yes ; then DIR=$(xcrun --show-sdk-path) TCL_INCLUDE="-I${DIR}/usr/include" else - for i in "" tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do - if test -f /usr/include/$i/tcl.h ; then - TCL_INCLUDE="-I/usr/include/$i" + for i in /usr/include /usr/include/tcl /usr/include/tcl9* /usr/include/tcl8* ; do + if test -f $i/tcl.h ; then + TCL_INCLUDE="-I$i" break; fi done