Make it a warning, not an error, if the version date cannot be determined
authorSimon Marlow <simonmar@microsoft.com>
Thu, 8 Feb 2007 15:13:23 +0000 (15:13 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 8 Feb 2007 15:13:23 +0000 (15:13 +0000)
This happens when the build tree is a link-tree to the source tree,
because lndir will normally omit the _darcs directory.

aclocal.m4

index 2649df7..f908e9f 100644 (file)
@@ -985,7 +985,7 @@ if test "$RELEASE" = "NO"; then
         PACKAGE_VERSION=`cat VERSION`
         AC_MSG_RESULT($PACKAGE_VERSION)
     else
-        AC_MSG_ERROR([no version found])                
+        AC_MSG_WARN([cannot determine snapshot version: no _darcs directory and no VERSION file])
     fi
 fi