Ticket #26140: patch-tcl.diff
File patch-tcl.diff, 1.4 KB (added by jjahson@…, 14 years ago) |
---|
-
src/configure.in
old new 1213 1213 tclloc=`echo 'set l [[info library]];set i [[string last lib $l]];incr i -2;puts [[string range $l 0 $i]]' | $vi_cv_path_tcl -` 1214 1214 1215 1215 AC_MSG_CHECKING(for location of Tcl include) 1216 if test "x$MACOSX" != "xyes"; then 1217 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver" 1218 else 1219 dnl For Mac OS X 10.3, use the OS-provided framework location 1220 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" 1221 fi 1216 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver" 1222 1217 TCL_INC= 1223 1218 for try in $tclinc; do 1224 1219 if test -f "$try/tcl.h"; then … … 1233 1233 fi 1234 1234 if test -z "$SKIP_TCL"; then 1235 1235 AC_MSG_CHECKING(for location of tclConfig.sh script) 1236 if test "x$MACOSX" != "xyes"; then 1237 tclcnf=`echo $tclinc | sed s/include/lib/g` 1238 tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`" 1239 else 1240 dnl For Mac OS X 10.3, use the OS-provided framework location 1241 tclcnf="/System/Library/Frameworks/Tcl.framework" 1242 fi 1236 tclcnf=`echo $tclinc | sed s/include/lib/g` 1237 tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`" 1243 1238 for try in $tclcnf; do 1244 1239 if test -f $try/tclConfig.sh; then 1245 1240 AC_MSG_RESULT($try/tclConfig.sh)