Ticket #26140: patch-tcl.diff

File patch-tcl.diff, 1.4 KB (added by jjahson@…, 14 years ago)

Tcl diff file with fixed line numbers

  • src/configure.in

    old new  
    12131213      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 -`
    12141214
    12151215      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"
    12221217      TCL_INC=
    12231218      for try in $tclinc; do
    12241219        if test -f "$try/tcl.h"; then
     
    12331233      fi
    12341234      if test -z "$SKIP_TCL"; then
    12351235        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`"
    12431238        for try in $tclcnf; do
    12441239          if test -f $try/tclConfig.sh; then
    12451240            AC_MSG_RESULT($try/tclConfig.sh)