]> granicus.if.org Git - python/commitdiff
Set "not found" value for svnversion to not-found. Fixes #1463559.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 3 Apr 2006 19:12:32 +0000 (19:12 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 3 Apr 2006 19:12:32 +0000 (19:12 +0000)
configure
configure.in

index 7151b2e988dacf32eacfdf8bc0c616720c5d1968..bc59e81e288748cbc02285cafa8708c39f2415c1 100755 (executable)
--- 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
index a8b91d651711f74a3f79057fab579c555dbd946b..12ac14919a88ceaa45a553fbcf5cb6cf36973ab6 100644 (file)
@@ -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)"