Whamcloud - gitweb
LU-4747 tests: Call get_param from MDS
[fs/lustre-release.git] / config / lustre-build.m4
index be67e2d..e56bbb1 100644 (file)
@@ -106,7 +106,12 @@ elif test -f META; then
        msg="$BUILDID (from META file)"
        AC_MSG_RESULT([$msg])
 else
-       AC_MSG_WARN([FIXME: I don't know how to deal with source trees outside of git that don't have a META file.  Not setting a buildid.])
+       AC_MSG_RESULT([none])
+       AC_MSG_WARN([
+
+FIXME: I don't know how to deal with source trees outside of git that
+don't have a META file. Not setting a buildid.
+])
 fi
 AC_SUBST(BUILDID)
 ])
@@ -649,8 +654,9 @@ AC_DEFUN([LB_CONFIG_RPMBUILD_OPTIONS],[
                case $arg in
                        --with-release=* ) ;;
                        --with-kmp-moddir=* ) ;;
-                       --enable-tests | --disable-tests ) ;;
                        --with-linux=* | --with-linux-obj=* ) ;;
+                       --enable-tests | --disable-tests ) ;;
+                       --enable-modules | --disable-modules ) ;;
                        * ) CONFIGURE_ARGS="$CONFIGURE_ARGS '$arg'" ;;
                esac
        done
@@ -684,9 +690,12 @@ AC_DEFUN([LB_CONFIG_RPMBUILD_OPTIONS],[
                        RPMBINARGS="$RPMBINARGS --define \"cross_requires intel-mic-gpl\""
                fi
        fi
+       if test x$enable_modules != xyes ; then
+               RPMBINARGS="$RPMBINARGS --without lustre_modules"
+       fi
        if test x$enable_tests != xyes ; then
                RPMBINARGS="$RPMBINARGS --without lustre_tests"
-               RPMSRCARGS="$RPMSRCARGS --without lustre_tests";
+               RPMSRCARGS="$RPMSRCARGS --without lustre_tests"
        fi
        if test x$enable_server != xyes ; then
                RPMBINARGS="$RPMBINARGS --without servers"