mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Always set SVNVERSION to "exported" if it otherwise fails.
This commit is contained in:
parent
dea59e5755
commit
c5bf5a00a3
4 changed files with 25 additions and 17 deletions
|
@ -619,7 +619,13 @@ AC_SUBST(AR)
|
|||
AC_CHECK_PROGS(AR, ar aal, ar)
|
||||
|
||||
AC_SUBST(SVNVERSION)
|
||||
AC_CHECK_PROGS(SVNVERSION, svnversion, [echo no svnversion])
|
||||
AC_CHECK_PROG(SVNVERSION, svnversion, found)
|
||||
if test $SVNVERSION = found
|
||||
then
|
||||
SVNVERSION="svnversion \$(srcdir)"
|
||||
else
|
||||
SVNVERSION="echo exported"
|
||||
fi
|
||||
|
||||
case $MACHDEP in
|
||||
bsdos*|hp*|HP*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue