Browse Source

handle case when source tree is not a svn branch (https://trac.osgeo.org/grass/ticket/587)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50661 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 13 years ago
parent
commit
678fcf16d2
2 changed files with 730 additions and 724 deletions
  1. 727 724
      configure
  2. 3 0
      configure.in

File diff suppressed because it is too large
+ 727 - 724
configure


+ 3 - 0
configure.in

@@ -128,6 +128,9 @@ GRASS_VERSION_SVN=
 AC_PATH_PROG(SVN_VERSION, svnversion, no)
 if test "$SVN_VERSION" != "no" ; then
    GRASS_VERSION_SVN=`$SVN_VERSION -c | cut -f2 -d:`
+   if test "$GRASS_VERSION_SVN" = "exported" ; then
+      GRASS_VERSION_SVN=
+   fi
 fi
 
 AC_SUBST(GRASS_VERSION_FILE)