Whamcloud - gitweb
LU-1187 tests: add create remote directory to racer
[fs/lustre-release.git] / configure.ac
index ce1df2a..1e59a49 100644 (file)
@@ -1,45 +1,24 @@
-sinclude(lustre/version.m4)
 
-AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugzilla.lustre.org/], [lustre])
+AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugs.whamcloud.com/], [lustre])
+sinclude(lustre/autoconf/lustre-version.ac)
 
-if test "LUSTRE_VERSION" = "LUSTRE""_VERSION" ; then
-       cat >&2 <<-EOF
-       This script was not built with a version number.
+# Overridden by --without-ldiskfs/--with-zfs configure options
+AM_CONDITIONAL(LDISKFS_ENABLED, true)
+AM_CONDITIONAL(ZFS_ENABLED, false)
 
-       This is likely due to an incorrect checkout, or a broken
-       tarball.
+LB_CHECK_VERSION
 
-       Please see README.lustrecvs, or contact your Lustre vendor.
-       EOF
-       exit 1
-fi
+LC_CONFIG_SRCDIR
 
-AC_CONFIG_SRCDIR(lustre/obdclass/obdo.c)
-AM_INIT_AUTOMAKE
-# AM_MAINTAINER_MODE
-
-sinclude(build/build.ac)
-sinclude(portals/portals.ac)
-sinclude(lustre/lustre.ac)
+AC_CANONICAL_SYSTEM
 
-AC_CONFIG_HEADERS([config.h])
-
-CPPFLAGS="-include \$(top_builddir)/config.h $CPPFLAGS"
-EXTRA_KCFLAGS="-include $PWD/config.h $EXTRA_KCFLAGS"
-AC_SUBST(EXTRA_KCFLAGS)
+AM_INIT_AUTOMAKE([1.9 tar-ustar])
+# AM_MAINTAINER_MODE
 
-AC_OUTPUT([
-Makefile
-autoMakefile
-])
+AC_PROG_CC
 
-cat <<EOF
+AM_PROG_AS
 
-CPPFLAGS: $CPPFLAGS
-LLCPPFLAGS: $LLCPPFLAGS
-CFLAGS: $CFLAGS
-EXTRA_KCFLAGS: $EXTRA_KCFLAGS
-LLCFLAGS: $LLCFLAGS
+AC_CHECK_TOOLS(AR, ar)
 
-Type 'make' to build Lustre.
-EOF
+LB_CONFIGURE