diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-01-05 10:33:59 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-01-05 10:33:59 (GMT) |
commit | c5bf5a00a35dae7d31d1b6eeada0567d7973c5c7 (patch) | |
tree | 3f9fdb52b1895205530adc2dd8ceddf3d02b67ad /configure.in | |
parent | dea59e5755526be328aa6d330ce730e387a7562d (diff) | |
download | cpython-c5bf5a00a35dae7d31d1b6eeada0567d7973c5c7.zip cpython-c5bf5a00a35dae7d31d1b6eeada0567d7973c5c7.tar.gz cpython-c5bf5a00a35dae7d31d1b6eeada0567d7973c5c7.tar.bz2 |
Always set SVNVERSION to "exported" if it otherwise fails.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 16368a7..acd0168 100644 --- a/configure.in +++ b/configure.in @@ -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*) |