summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac91
1 files changed, 91 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 000000000..728a2dd7c
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,91 @@
+/*
+ * This file is part of the ZFS Linux port.
+ *
+ * Copyright (c) 2009 Lawrence Livermore National Security, LLC.
+ * Produced at Lawrence Livermore National Laboratory
+ * Written by:
+ * Brian Behlendorf <[email protected]>,
+ * Herb Wartens <[email protected]>,
+ * Jim Garlick <[email protected]>
+ * LLNL-CODE-403049
+ *
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+AC_INIT
+AC_LANG(C)
+ZFS_AC_META
+AC_CONFIG_AUX_DIR([config])
+AC_CANONICAL_SYSTEM
+AM_MAINTAINER_MODE
+AM_SILENT_RULES
+AM_INIT_AUTOMAKE([$ZFS_META_NAME], [$ZFS_META_VERSION])
+AC_CONFIG_HEADERS([zfs_config.h], [
+ (mv zfs_config.h zfs_config.h.tmp &&
+ awk -f config/config.awk zfs_config.h.tmp >zfs_config.h &&
+ rm zfs_config.h.tmp) || exit 1])
+
+AC_PROG_INSTALL
+AC_PROG_CC
+AC_PROG_LIBTOOL
+AM_PROG_AS
+
+ZFS_AC_LICENSE
+ZFS_AC_PACKAGE
+ZFS_AC_CONFIG
+ZFS_AC_DEBUG
+
+AC_CONFIG_FILES([
+ Makefile
+ config/Makefile
+ etc/Makefile
+ man/Makefile
+ man/man8/Makefile
+ lib/Makefile
+ lib/libavl/Makefile
+ lib/libefi/Makefile
+ lib/libnvpair/Makefile
+ lib/libunicode/Makefile
+ lib/libuutil/Makefile
+ lib/libzpool/Makefile
+ lib/libzpool/include/Makefile
+ lib/libzfs/Makefile
+ cmd/Makefile
+ cmd/zdb/Makefile
+ cmd/zfs/Makefile
+ cmd/zinject/Makefile
+ cmd/zpool/Makefile
+ cmd/zpool_id/Makefile
+ cmd/zpool_layout/Makefile
+ cmd/ztest/Makefile
+ module/Makefile
+ module/avl/Makefile
+ module/nvpair/Makefile
+ module/unicode/Makefile
+ module/zcommon/Makefile
+ module/zfs/Makefile
+ scripts/Makefile
+ scripts/common.sh
+ zfs.spec
+ zfs-modules.spec
+])
+
+AC_OUTPUT