Changeset 1869 for trunk/gui/configure
- Timestamp:
- Aug 22, 2010 4:46:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/configure
r1867 r1869 1979 1979 1980 1980 1981 gui_with_tcl="" 1982 1981 1983 make_command="" 1982 1984 for m in "$MAKE" make gmake gnumake ; do … … 2074 2076 fi 2075 2077 fi 2078 2079 # ----------------------------------------------------------------------- 2080 # 2081 # Find the Tcl build configuration file "tclConfig.sh" 2082 # 2083 # ----------------------------------------------------------------------- 2084 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5 2086 $as_echo_n "checking for tclConfig.sh... " >&6; } 2087 tcl_config_sh="" 2088 if test "x$gui_with_tcl" != "x" ; then 2089 2090 # Verify that a tclConfig.sh file exists in the directory specified 2091 # by --with-tcl. 2092 2093 for dir in \ 2094 $gui_with_tcl 2095 do 2096 if test -r "$dir/tclConfig.sh" ; then 2097 tcl_config_sh="$dir/tclConfig.sh" 2098 break 2099 elif test -r "$dir/lib/tclConfig.sh" ; then 2100 tcl_config_sh="$dir/lib/tclConfig.sh" 2101 break 2102 fi 2103 done 2104 else 2105 2106 # Otherwise, search for Tcl configuration file. 2107 2108 # 1. Search previously named locations. 2109 2110 for dir in \ 2111 $prefix \ 2112 $exec_prefix \ 2113 $gui_cv_tcl_lib 2114 do 2115 if test -r "$dir/tclConfig.sh" ; then 2116 tcl_config_sh="$dir/tclConfig.sh" 2117 break 2118 elif test -r "$dir/lib/tclConfig.sh" ; then 2119 tcl_config_sh="$dir/lib/tclConfig.sh" 2120 break 2121 fi 2122 done 2123 fi 2124 2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_config_sh}" >&5 2126 $as_echo "${tcl_config_sh}" >&6; } 2127 2128 if test "x$tcl_config_sh" = "x" ; then 2129 echo "can't find Tcl configuration script \"tclConfig.sh\"" 2130 exit 1 2131 fi 2132 2133 . ${tcl_config_sh} 2134 2135 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 2076 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 2077 2137 $as_echo "${TCLSH}" >&6; } 2078 2138 2079 2080 TCL_VERSION="8.4"2081 for dir in \2082 ${exec_prefix} \2083 ${exec_prefix}/lib ; do2084 tclconfig="${dir}/tclConfig.sh"2085 if test -f "$tclconfig" ; then2086 . $tclconfig2087 break2088 fi2089 done2090 TCL_INC_SPEC="$TCL_INCLUDE_SPEC"2091 2092 if test "x$with_tcllib" != "x" ; then2093 tclconfig="${with_tcllib}/tclConfig.sh"2094 if test -f "$tclconfig" ; then2095 . $tclconfig2096 fi2097 TCL_LIB_SPEC="-L${with_tcllib} -ltcl${TCL_VERSION}"2098 fi2099 if test "x$with_tclinclude" != "x" ; then2100 TCL_INC_SPEC="-I${with_tclinclude}"2101 fi2102 2139 2103 2140
Note: See TracChangeset
for help on using the changeset viewer.