X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=configure.ac;h=0a008590fb2bd8d7bc808d721483661dee63d448;hp=ce1df2a829bc42d7202b11de212a1d54c46533f7;hb=6e6357dbf9a14aaea459f460dbe4f93e52c814d4;hpb=2ec4f8cc2c890edcd2199c92113438c8584b78b7 diff --git a/configure.ac b/configure.ac index ce1df2a..0a00859 100644 --- a/configure.ac +++ b/configure.ac @@ -1,45 +1,24 @@ -sinclude(lustre/version.m4) +AC_PREREQ([2.57]) +AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugs.whamcloud.com/], [lustre]) +sinclude(lustre/autoconf/lustre-version.ac) -AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugzilla.lustre.org/], [lustre]) +# Overridden by --without-ldiskfs/--with-zfs configure options +AM_CONDITIONAL(LDISKFS_ENABLED, true) +AM_CONDITIONAL(ZFS_ENABLED, false) -if test "LUSTRE_VERSION" = "LUSTRE""_VERSION" ; then - cat >&2 <<-EOF - This script was not built with a version number. +LB_CHECK_VERSION - This is likely due to an incorrect checkout, or a broken - tarball. +LC_CONFIG_SRCDIR - Please see README.lustrecvs, or contact your Lustre vendor. - EOF - exit 1 -fi +AC_CANONICAL_SYSTEM -AC_CONFIG_SRCDIR(lustre/obdclass/obdo.c) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability]) # AM_MAINTAINER_MODE -sinclude(build/build.ac) -sinclude(portals/portals.ac) -sinclude(lustre/lustre.ac) +AC_PROG_CC -AC_CONFIG_HEADERS([config.h]) +AM_PROG_AS -CPPFLAGS="-include \$(top_builddir)/config.h $CPPFLAGS" -EXTRA_KCFLAGS="-include $PWD/config.h $EXTRA_KCFLAGS" -AC_SUBST(EXTRA_KCFLAGS) +AC_CHECK_TOOLS(AR, ar) -AC_OUTPUT([ -Makefile -autoMakefile -]) - -cat <