Whamcloud - gitweb
LU-278 build: Only warn for tag/version mismatch
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 15 Jul 2011 08:48:28 +0000 (02:48 -0600)
committerJohann Lombardi <johann@whamcloud.com>
Thu, 28 Jul 2011 23:31:45 +0000 (19:31 -0400)
The configure process should NOT abort just because the most
recent tag is not of the form that upstream uses to tag Lustre.
Downstream developers may use their own tags, or just add
extensions to upsteam's version tags.

Change-Id: I43b63e8438cc37588d5a5b91677102ded22917fb
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1105
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
build/autoconf/lustre-build.m4

index caf7f0a..a9bff1c 100644 (file)
@@ -88,7 +88,7 @@ if git branch >/dev/null 2>&1; then
 
        # only do this test for lustre (not ldiskfs)
        if test "$PACKAGE" = "lustre" -a "$ver" != "$VERSION"; then
-               AC_MSG_ERROR([most recent tag found: $ver does not match current version $VERSION.])
+               AC_MSG_WARN([most recent tag found: $ver does not match current version $VERSION.])
        fi
 
        if test "$ffw" != "0"; then