From: Martin v. Löwis Date: Mon, 3 Apr 2006 19:12:32 +0000 (+0000) Subject: Set "not found" value for svnversion to not-found. Fixes #1463559. X-Git-Tag: v2.5a1~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff6002304885cdbcb5d4cce3dc30387d2e3fc590;p=python Set "not found" value for svnversion to not-found. Fixes #1463559. --- diff --git a/configure b/configure index 7151b2e988..bc59e81e28 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 a8b91d6517..12ac14919a 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)"