Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-5814 lov: remove LL_IOC_RECREATE_{FID,OBJ}
[fs/lustre-release.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
ce1df2a
..
92cd6ee
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,45
+1,24
@@
-sinclude(lustre/version.m4)
+AC_PREREQ([2.57])
+AC_INIT([Lustre], [LUSTRE_VERSION], [https://jira.hpdd.intel.com/], [lustre])
+sinclude(lustre/autoconf/lustre-version.ac)
-AC_INIT([Lustre], [LUSTRE_VERSION], [http://bugzilla.lustre.org/], [lustre])
+AC_CONFIG_AUX_DIR([config])
+AC_CONFIG_MACRO_DIR([config])
-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_MAINTAINER_MODE
+AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability])
+AM_MAINTAINER_MODE([enable])
-sinclude(build/build.ac)
-sinclude(portals/portals.ac)
-sinclude(lustre/lustre.ac)
+AC_PROG_CC
+AC_PROG_LIBTOOL
-A
C_CONFIG_HEADERS([config.h])
+A
M_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 <<EOF
-
-CPPFLAGS: $CPPFLAGS
-LLCPPFLAGS: $LLCPPFLAGS
-CFLAGS: $CFLAGS
-EXTRA_KCFLAGS: $EXTRA_KCFLAGS
-LLCFLAGS: $LLCFLAGS
-
-Type 'make' to build Lustre.
-EOF
+LB_CONFIGURE