mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/config/configure.in


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/config/configure.in
Date: Wed, 31 Aug 2005 19:52:31 -0400

Index: mldonkey/config/configure.in
diff -u mldonkey/config/configure.in:1.217 mldonkey/config/configure.in:1.218
--- mldonkey/config/configure.in:1.217  Wed Aug 31 23:50:42 2005
+++ mldonkey/config/configure.in        Wed Aug 31 23:52:31 2005
@@ -59,8 +59,13 @@
 
 if test -d .svn; then
   AC_MSG_NOTICE(checking SVN revision)
-  SUB_VERSION3="SVN"
-  SCM_VERSION=`svnversion -n .`
+  AC_CHECK_PROG(SVNVERSION,svnversion,svnversion)
+  if test "$ac_cv_prog_SVNVERSION" = "svnversion"; then
+    SUB_VERSION3="SVN"
+    SCM_VERSION=`svnversion -n .`
+  else AC_MSG_NOTICE(cannot checking SVN revision... no SVNVERSION)
+       SCM_VERSION="cannot find out SVN revision (no SVNVERSION)"  
+  fi     
 fi
 if test -f ./CVS/Entries ; then
   AC_MSG_NOTICE(checking CVS checkout date)
@@ -90,9 +95,15 @@
          fi
        fi
       fi
+      else AC_MSG_NOTICE(cannot checking CVS checkout date... no CUT)
+      SCM_VERSION="cannot find out SCM Version (no CUT)"
     fi
+    else AC_MSG_NOTICE(cannot checking CVS checkout date... no SED)
+    SCM_VERSION="cannot find out SCM Version (no SED)"
+  fi
+  else AC_MSG_NOTICE(cannot checking CVS checkout date... no STAT)
+  SCM_VERSION="cannot find out SCM Version (no STAT)"
   fi
-fi
 fi
 MLDONKEY_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$SUB_VERSION
 if test -f ./subrelease; then




reply via email to

[Prev in Thread] Current Thread [Next in Thread]