Whamcloud - gitweb
LU-278 build: Only warn for tag/version mismatch
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 14 Jul 2011 19:07:29 +0000 (13:07 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 29 Jul 2011 00:32:40 +0000 (20:32 -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: I9a98bfd4475d3df2694f536ba0352779a62650c7
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/510
Tested-by: Hudson
Reviewed-by: Brian J. Murrell <brian@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
build/autoconf/lustre-build.m4

index 800925d..20e3d0d 100644 (file)
@@ -91,7 +91,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