# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1316449286 0 # Node ID f1cb493f97fd1daad01a7ca9b870117f1b93dba6 # Parent 38e925147a60a83af2ac386eb7ad6994cd55f59c Updated configure to check the presence of a .svn directory before doing the check for the svnversion command. diff -r 38e925147a60 -r f1cb493f97fd configure --- a/configure Mon Sep 19 09:52:45 2011 +0000 +++ b/configure Mon Sep 19 16:21:26 2011 +0000 @@ -3355,7 +3355,8 @@ fi -# Extract the first word of "svnversion", so it can be a program name with args. +if test -d .svn; then + # Extract the first word of "svnversion", so it can be a program name with args. set dummy svnversion; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } @@ -3392,6 +3393,7 @@ fi +fi if test x"$SVNVERSION" = x; then SVNVERSION=0 else diff -r 38e925147a60 -r f1cb493f97fd configure.in --- a/configure.in Mon Sep 19 09:52:45 2011 +0000 +++ b/configure.in Mon Sep 19 16:21:26 2011 +0000 @@ -32,7 +32,9 @@ if test x"$MAKE" = x; then AC_CHECK_PROG(MAKE, make, make) fi -AC_CHECK_PROG(SVNVERSION, svnversion, svnversion) +if test -d .svn; then + AC_CHECK_PROG(SVNVERSION, svnversion, svnversion) +fi if test x"$SVNVERSION" = x; then SVNVERSION=0 else