X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=configure.ac;h=57c0c473759fc0c1381914c0845d9c48b7823d97;hp=aec60abf3776f605f7caeb348c880f4f8946dce2;hb=e41bdca755954beeb47ee6653ed9e140b7338e96;hpb=4bf971af0731937c30259cbc866feaff98e648ad diff --git a/configure.ac b/configure.ac index aec60ab..57c0c47 100644 --- a/configure.ac +++ b/configure.ac @@ -1,24 +1,24 @@ 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 AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability]) +AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability subdir-objects]) 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