Set "not found" value for svnversion to not-found. Fixes #1463559.

This commit is contained in:
Martin v. Löwis 2006-04-03 19:12:32 +00:00
parent 739281148d
commit ff60023048
2 changed files with 5 additions and 4 deletions

7
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 43158 . # From configure.in Revision: 43536 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5. # 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 # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair. # 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 # has no effect, don't bother defineing them
Darwin/[78].*) Darwin/78.*)
define_xopen_source=no define_xopen_source=no
;; ;;
@ -3602,6 +3602,7 @@ do
done done
done done
test -z "$ac_cv_prog_SVNVERSION" && ac_cv_prog_SVNVERSION="not-found"
fi fi
fi fi
SVNVERSION=$ac_cv_prog_SVNVERSION SVNVERSION=$ac_cv_prog_SVNVERSION

View File

@ -621,7 +621,7 @@ AC_SUBST(AR)
AC_CHECK_PROGS(AR, ar aal, ar) AC_CHECK_PROGS(AR, ar aal, ar)
AC_SUBST(SVNVERSION) AC_SUBST(SVNVERSION)
AC_CHECK_PROG(SVNVERSION, svnversion, found) AC_CHECK_PROG(SVNVERSION, svnversion, found, not-found)
if test $SVNVERSION = found if test $SVNVERSION = found
then then
SVNVERSION="svnversion \$(srcdir)" SVNVERSION="svnversion \$(srcdir)"