|
1 | 1 | #! /bin/sh |
2 | | -# From configure.in Revision: 88430 . |
| 2 | +# From configure.in Revision. |
3 | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | 4 | # Generated by GNU Autoconf 2.68 for python 3.2. |
5 | 5 | # |
|
644 | 644 | INSTALL_DATA |
645 | 645 | INSTALL_SCRIPT |
646 | 646 | INSTALL_PROGRAM |
| 647 | +HAS_HG |
| 648 | +HGBRANCH |
| 649 | +HGTAG |
| 650 | +HGVERSION |
647 | 651 | SVNVERSION |
648 | 652 | ARFLAGS |
649 | 653 | AR |
@@ -5166,6 +5170,58 @@ else |
5166 | 5170 | SVNVERSION="echo Unversioned directory" |
5167 | 5171 | fi |
5168 | 5172 |
|
| 5173 | +
|
| 5174 | +
|
| 5175 | +
|
| 5176 | +# Extract the first word of "hg", so it can be a program name with args. |
| 5177 | +set dummy hg; ac_word=$2 |
| 5178 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5179 | +$as_echo_n "checking for $ac_word... " >&6; } |
| 5180 | +if ${ac_cv_prog_HAS_HG+:} false; then : |
| 5181 | + $as_echo_n "(cached) " >&6 |
| 5182 | +else |
| 5183 | + if test -n "$HAS_HG"; then |
| 5184 | + ac_cv_prog_HAS_HG="$HAS_HG" # Let the user override the test. |
| 5185 | +else |
| 5186 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5187 | +for as_dir in $PATH |
| 5188 | +do |
| 5189 | + IFS=$as_save_IFS |
| 5190 | + test -z "$as_dir" && as_dir=. |
| 5191 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| 5192 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5193 | + ac_cv_prog_HAS_HG="found" |
| 5194 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5195 | + break 2 |
| 5196 | + fi |
| 5197 | +done |
| 5198 | + done |
| 5199 | +IFS=$as_save_IFS |
| 5200 | +
|
| 5201 | + test -z "$ac_cv_prog_HAS_HG" && ac_cv_prog_HAS_HG="not-found" |
| 5202 | +fi |
| 5203 | +fi |
| 5204 | +HAS_HG=$ac_cv_prog_HAS_HG |
| 5205 | +if test -n "$HAS_HG"; then |
| 5206 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_HG" >&5 |
| 5207 | +$as_echo "$HAS_HG" >&6; } |
| 5208 | +else |
| 5209 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5210 | +$as_echo "no" >&6; } |
| 5211 | +fi |
| 5212 | +
|
| 5213 | +
|
| 5214 | +if test $HAS_HG = found |
| 5215 | +then |
| 5216 | + HGVERSION="hg id -i \$(srcdir)" |
| 5217 | + HGTAG="hg id -t \$(srcdir)" |
| 5218 | + HGBRANCH="hg id -b \$(srcdir)" |
| 5219 | +else |
| 5220 | + HGVERSION="" |
| 5221 | + HGTAG="" |
| 5222 | + HGBRANCH="" |
| 5223 | +fi |
| 5224 | +
|
5169 | 5225 | case $MACHDEP in |
5170 | 5226 | bsdos*|hp*|HP*) |
5171 | 5227 | # install -d does not work on BSDI or HP-UX |
|
0 commit comments