X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=configure.ac;h=2e8b8377751012dcd01073d8e5d1c7cda85b4767;hp=aec60abf3776f605f7caeb348c880f4f8946dce2;hb=11eda8742fa4505bc62c6113b067a75687f171cc;hpb=4bf971af0731937c30259cbc866feaff98e648ad diff --git a/configure.ac b/configure.ac index aec60ab..2e8b837 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,9 @@ 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]) -# Overridden by --without-ldiskfs/--with-zfs configure options -AM_CONDITIONAL(LDISKFS_ENABLED, true) -AM_CONDITIONAL(ZFS_ENABLED, false) - -LB_CHECK_VERSION +AC_CONFIG_AUX_DIR([config]) +AC_CONFIG_MACRO_DIR([config]) LC_CONFIG_SRCDIR @@ -16,9 +13,12 @@ AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability]) 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