Commit 187c111a authored by Georg Brandl's avatar Georg Brandl

Regenerate configure.

parent 06945626
...@@ -644,6 +644,8 @@ LN ...@@ -644,6 +644,8 @@ LN
INSTALL_DATA INSTALL_DATA
INSTALL_SCRIPT INSTALL_SCRIPT
INSTALL_PROGRAM INSTALL_PROGRAM
HAS_PYTHON
DISABLE_ASDLGEN
HAS_HG HAS_HG
HGBRANCH HGBRANCH
HGTAG HGTAG
...@@ -5204,6 +5206,9 @@ fi ...@@ -5204,6 +5206,9 @@ fi
if test -e $srcdir/.hg/00changelog.i
then
# Extract the first word of "hg", so it can be a program name with args. # Extract the first word of "hg", so it can be a program name with args.
set dummy hg; ac_word=$2 set dummy hg; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
...@@ -5242,6 +5247,9 @@ $as_echo "no" >&6; } ...@@ -5242,6 +5247,9 @@ $as_echo "no" >&6; }
fi fi
else
HAS_HG=no-repository
fi
if test $HAS_HG = found if test $HAS_HG = found
then then
HGVERSION="hg id -i \$(srcdir)" HGVERSION="hg id -i \$(srcdir)"
...@@ -5253,6 +5261,52 @@ else ...@@ -5253,6 +5261,52 @@ else
HGBRANCH="" HGBRANCH=""
fi fi
DISABLE_ASDLGEN=""
# Extract the first word of "python", so it can be a program name with args.
set dummy python; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_HAS_PYTHON+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$HAS_PYTHON"; then
ac_cv_prog_HAS_PYTHON="$HAS_PYTHON" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_HAS_PYTHON="found"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
test -z "$ac_cv_prog_HAS_PYTHON" && ac_cv_prog_HAS_PYTHON="not-found"
fi
fi
HAS_PYTHON=$ac_cv_prog_HAS_PYTHON
if test -n "$HAS_PYTHON"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_PYTHON" >&5
$as_echo "$HAS_PYTHON" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test $HAS_HG != found -o $HAS_PYTHON != found
then
DISABLE_ASDLGEN="@echo hg: $HAS_HG, python: $HAS_PYTHON! cannot run \$(srcdir)/Parser/asdl_c.py #"
fi
case $MACHDEP in case $MACHDEP in
bsdos*|hp*|HP*) bsdos*|hp*|HP*)
# install -d does not work on BSDI or HP-UX # install -d does not work on BSDI or HP-UX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment