comparison src/configure.in @ 1542:12f9cd68b9c3 v7.1.257

updated for version 7.1-257
author vimboss
date Wed, 20 Feb 2008 11:44:03 +0000
parents 2df7e2d75306
children ebe059f69b9e
comparison
equal deleted inserted replaced
1541:0d0bf7598dcb 1542:12f9cd68b9c3
792 AC_MSG_RESULT($tclver - OK); 792 AC_MSG_RESULT($tclver - OK);
793 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 -` 793 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 -`
794 794
795 AC_MSG_CHECKING(for location of Tcl include) 795 AC_MSG_CHECKING(for location of Tcl include)
796 if test "x$MACOSX" != "xyes"; then 796 if test "x$MACOSX" != "xyes"; then
797 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include" 797 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
798 else 798 else
799 dnl For Mac OS X 10.3, use the OS-provided framework location 799 dnl For Mac OS X 10.3, use the OS-provided framework location
800 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" 800 tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
801 fi 801 fi
802 TCL_INC=
802 for try in $tclinc; do 803 for try in $tclinc; do
803 if test -f "$try/tcl.h"; then 804 if test -f "$try/tcl.h"; then
804 AC_MSG_RESULT($try/tcl.h) 805 AC_MSG_RESULT($try/tcl.h)
805 TCL_INC=$try 806 TCL_INC=$try
806 break 807 break