]>
Commit | Line | Data |
---|---|---|
c9c0d073 | 1 | /* |
09a7ad38 | 2 | * This file is part of OpenZFS. |
c9c0d073 BB |
3 | * |
4 | * Copyright (c) 2009 Lawrence Livermore National Security, LLC. | |
5 | * Produced at Lawrence Livermore National Laboratory | |
6 | * Written by: | |
7 | * Brian Behlendorf <behlendorf1@llnl.gov>, | |
8 | * Herb Wartens <wartens2@llnl.gov>, | |
9 | * Jim Garlick <garlick@llnl.gov> | |
10 | * LLNL-CODE-403049 | |
11 | * | |
12 | * CDDL HEADER START | |
13 | * | |
14 | * The contents of this file are subject to the terms of the | |
15 | * Common Development and Distribution License, Version 1.0 only | |
16 | * (the "License"). You may not use this file except in compliance | |
17 | * with the License. | |
18 | * | |
19 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | |
1d3ba0bf | 20 | * or https://opensource.org/licenses/CDDL-1.0. |
c9c0d073 BB |
21 | * See the License for the specific language governing permissions |
22 | * and limitations under the License. | |
23 | * | |
24 | * When distributing Covered Code, include this CDDL HEADER in each | |
25 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. | |
26 | * If applicable, add the following below this CDDL HEADER, with the | |
27 | * fields enclosed by brackets "[]" replaced with your own identifying | |
28 | * information: Portions Copyright [yyyy] [name of copyright owner] | |
29 | * | |
30 | * CDDL HEADER END | |
31 | */ | |
32 | ||
c8970f52 AZ |
33 | AC_INIT(m4_esyscmd(awk '/^Name:/ {printf $2}' META), |
34 | m4_esyscmd(awk '/^Version:/ {printf $2}' META)) | |
e6e31dd5 | 35 | CFGOPTS="$*" |
c9c0d073 BB |
36 | AC_LANG(C) |
37 | ZFS_AC_META | |
38 | AC_CONFIG_AUX_DIR([config]) | |
8c392629 | 39 | AC_CONFIG_MACRO_DIR([config]) |
06346cc5 | 40 | AC_CANONICAL_TARGET |
c9c0d073 | 41 | AM_MAINTAINER_MODE |
5b5a65b0 | 42 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
c8970f52 | 43 | AM_INIT_AUTOMAKE([subdir-objects foreign]) |
eaf94bda AZ |
44 | # Remove default macros from config.h: |
45 | # PACKAGE, PACKAGE_{BUGREPORT,NAME,STRING,TARNAME,VERSION}, STDC_HEADERS, VERSION | |
c9c0d073 | 46 | AC_CONFIG_HEADERS([zfs_config.h], [ |
82aa4f6f | 47 | sed -nri~ -e '/^$/be' -e 'N;N;/#define (PACKAGE|VERSION|STDC_HEADERS)/d' -e ':e' -e 'p' zfs_config.h && rm zfs_config.h~ || exit]) |
c9c0d073 | 48 | |
06346cc5 | 49 | LT_INIT |
c9c0d073 BB |
50 | AC_PROG_INSTALL |
51 | AC_PROG_CC | |
dd00925e | 52 | AC_PROG_LN_S |
762f9ef3 | 53 | PKG_PROG_PKG_CONFIG |
c9c0d073 | 54 | AM_PROG_AS |
3c67d83a | 55 | AM_PROG_CC_C_O |
acf04442 | 56 | AX_CODE_COVERAGE |
1dfde3d9 | 57 | _AM_PROG_TAR(pax) |
c9c0d073 BB |
58 | |
59 | ZFS_AC_LICENSE | |
c9c0d073 | 60 | ZFS_AC_CONFIG |
22831636 | 61 | ZFS_AC_PACKAGE |
c9c0d073 | 62 | ZFS_AC_DEBUG |
0d3980ac | 63 | ZFS_AC_DEBUGINFO |
93ce2b4c BB |
64 | ZFS_AC_DEBUG_KMEM |
65 | ZFS_AC_DEBUG_KMEM_TRACKING | |
ba74de88 | 66 | ZFS_AC_DEBUG_INVARIANTS |
c9c0d073 | 67 | |
6bb24f4d | 68 | AC_CONFIG_FILES([ |
e6e31dd5 | 69 | contrib/debian/rules |
c9c0d073 | 70 | Makefile |
381d91de | 71 | include/Makefile |
c3f8dc2a | 72 | lib/libzfs/libzfs.pc |
4d61ade1 | 73 | lib/libzfs_core/libzfs_core.pc |
ea04cc4a | 74 | lib/libzfsbootenv/libzfsbootenv.pc |
71504277 | 75 | module/Kbuild |
c9c0d073 | 76 | module/Makefile |
381d91de RM |
77 | rpm/generic/zfs-dkms.spec |
78 | rpm/generic/zfs-kmod.spec | |
79 | rpm/generic/zfs.spec | |
381d91de RM |
80 | rpm/redhat/zfs-dkms.spec |
81 | rpm/redhat/zfs-kmod.spec | |
82 | rpm/redhat/zfs.spec | |
6bb24f4d | 83 | tests/zfs-tests/tests/Makefile |
fb7eb3e3 | 84 | zfs.release |
c9c0d073 BB |
85 | ]) |
86 | ||
6078881a | 87 | |
c9c0d073 | 88 | AC_OUTPUT |