summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-03 19:12:32 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-03 19:12:32 (GMT)
commitff6002304885cdbcb5d4cce3dc30387d2e3fc590 (patch)
tree6a6167620841fb5adea29557982780287517d6e8
parent739281148d33f69ea51a97b92406c9b043d739d5 (diff)
downloadcpython-ff6002304885cdbcb5d4cce3dc30387d2e3fc590.zip
cpython-ff6002304885cdbcb5d4cce3dc30387d2e3fc590.tar.gz
cpython-ff6002304885cdbcb5d4cce3dc30387d2e3fc590.tar.bz2
Set "not found" value for svnversion to not-found. Fixes #1463559.
-rwxr-xr-xconfigure7
-rw-r--r--configure.in2
2 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index 7151b2e..bc59e81 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 43158 .
+# From configure.in Revision: 43536 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
@@ -1513,9 +1513,9 @@ case $ac_sys_system/$ac_sys_release in
;;
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair.
- # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
+ # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# has no effect, don't bother defineing them
- Darwin/[78].*)
+ Darwin/78.*)
define_xopen_source=no
;;
@@ -3602,6 +3602,7 @@ do
done
done
+ test -z "$ac_cv_prog_SVNVERSION" && ac_cv_prog_SVNVERSION="not-found"
fi
fi
SVNVERSION=$ac_cv_prog_SVNVERSION
diff --git a/configure.in b/configure.in
index a8b91d6..12ac149 100644
--- a/configure.in
+++ b/configure.in
@@ -621,7 +621,7 @@ AC_SUBST(AR)
AC_CHECK_PROGS(AR, ar aal, ar)
AC_SUBST(SVNVERSION)
-AC_CHECK_PROG(SVNVERSION, svnversion, found)
+AC_CHECK_PROG(SVNVERSION, svnversion, found, not-found)
if test $SVNVERSION = found
then
SVNVERSION="svnversion \$(srcdir)"