X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=configure.ac;h=16e9ee8e3841c787a2db200f3558c6b76cd160c7;hp=5ce60d792962b844ab78268cf65d4ddf227fcdca;hb=15d44e787e17ff57fc1fb5a6c9ae568cdaab6e34;hpb=e9a55d0396337bb31f08d06a520185cbe09aedd3 diff --git a/configure.ac b/configure.ac index 5ce60d7..16e9ee8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,16 +1,24 @@ -sinclude(lustre/autoconf/lustre-version.ac) +AC_PREREQ([2.57]) +AC_INIT([Lustre], m4_esyscmd([sh -c "./LUSTRE-VERSION-GEN | tr -d '\n'"]), + [https://jira.whamcloud.com/], [lustre]) -AC_INIT([Lustre], [LUSTRE_VERSION], [https://bugzilla.lustre.org/], [lustre]) - -LB_CHECK_VERSION +AC_CONFIG_AUX_DIR([config]) +AC_CONFIG_MACRO_DIR([config]) LC_CONFIG_SRCDIR AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE -# AM_MAINTAINER_MODE +AM_INIT_AUTOMAKE([1.10 tar-pax -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