X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=configure.ac;h=2e8b8377751012dcd01073d8e5d1c7cda85b4767;hp=b772a0f28e8a229db24f0988ac17f55c5ca57c99;hb=11eda8742fa4505bc62c6113b067a75687f171cc;hpb=3e8c354c09725a97b90e477a77411cc6fb306f09 diff --git a/configure.ac b/configure.ac index b772a0f..2e8b837 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,10 @@ AC_PREREQ([2.57]) -AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugs.whamcloud.com/], [lustre]) -sinclude(lustre/autoconf/lustre-version.ac) +AC_INIT([Lustre], m4_esyscmd([sh -c "./LUSTRE-VERSION-GEN | tr -d '\n'"]), + [https://jira.hpdd.intel.com/], [lustre]) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_MACRO_DIR([config]) -LB_CHECK_VERSION - LC_CONFIG_SRCDIR AC_CANONICAL_SYSTEM @@ -16,9 +14,11 @@ AM_MAINTAINER_MODE([enable]) AC_PROG_CC AC_PROG_LIBTOOL - +AC_PROG_MKDIR_P AM_PROG_AS +AC_PATH_PROG(RPMBUILD, rpmbuild) AC_CHECK_TOOLS(AR, ar) +LUSTRE_VERSION_CPP_MACROS LB_CONFIGURE