summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-01-05 10:33:59 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-01-05 10:33:59 +0000
commitdfb97578978cc03dd1254bdc462088bebb0f3275 (patch)
tree5d6ae0cefd24d394c8104b77ca6bd90b6e5ab247 /configure
parent6a325f1268828518762902f5dbe6c8f72e284d50 (diff)
downloadcpython-dfb97578978cc03dd1254bdc462088bebb0f3275.tar.gz
Always set SVNVERSION to "exported" if it otherwise fails.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure b/configure
index d36537f608..a59889e224 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 41852 .
+# From configure.in Revision: 41923 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
@@ -3576,10 +3576,8 @@ test -n "$AR" || AR="ar"
-for ac_prog in svnversion
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
+# Extract the first word of "svnversion", so it can be a program name with args.
+set dummy svnversion; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_SVNVERSION+set}" = set; then
@@ -3595,7 +3593,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_SVNVERSION="$ac_prog"
+ ac_cv_prog_SVNVERSION="found"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
@@ -3613,10 +3611,12 @@ else
echo "${ECHO_T}no" >&6
fi
- test -n "$SVNVERSION" && break
-done
-test -n "$SVNVERSION" || SVNVERSION="echo no svnversion"
-
+if test $SVNVERSION = found
+then
+ SVNVERSION="svnversion \$(srcdir)"
+else
+ SVNVERSION="echo exported"
+fi
case $MACHDEP in
bsdos*|hp*|HP*)