Always set SVNVERSION to "exported" if it otherwise fails.

This commit is contained in:
Martin v. Löwis 2006-01-05 10:33:59 +00:00
parent dea59e5755
commit c5bf5a00a3
4 changed files with 25 additions and 17 deletions

View file

@ -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*)