Whamcloud - gitweb
LU-17705 ptlrpc: replace synchronize_rcu() with rcu_barrier()
[fs/lustre-release.git] / configure.ac
index f4d47b8..4000a38 100644 (file)
@@ -1,24 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+# configure.ac
+#
+# Used by autoconf to create the configure script
+#
+
 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], m4_esyscmd_s([./LUSTRE-VERSION-GEN]),
+       [https://jira.whamcloud.com/], [lustre])
 
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_MACRO_DIR([config])
 
 LC_CONFIG_SRCDIR
 
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 
-AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability subdir-objects])
+AM_INIT_AUTOMAKE([1.10 tar-pax -Wno-portability subdir-objects])
 AM_MAINTAINER_MODE([enable])
 
-AC_PROG_CC
-AC_PROG_LIBTOOL
+LTC_TOOLCHAIN_CONFIGURE
+LT_INIT
 AC_PROG_MKDIR_P
-AM_PROG_AS
 
+AC_PATH_PROG(FLEX, flex)
+AC_PATH_PROG(BISON, bison)
 AC_PATH_PROG(RPMBUILD, rpmbuild)
-AC_CHECK_TOOLS(AR, ar)
+AC_PATH_PROG(PKGCONF, pkg-config)
 
 LUSTRE_VERSION_CPP_MACROS
 LB_CONFIGURE
+LTC_TOOLCHAIN_STATUS