]>
Commit | Line | Data |
---|---|---|
87d546d8 TG |
1 | /* |
2 | * This file is part of the ZFS Linux port. | |
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 | |
20 | * or http://www.opensolaris.org/os/licensing. | |
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 | ||
33 | AC_INIT(m4_esyscmd(grep Name META | cut -d ':' -f 2 | tr -d ' \n'), | |
34 | m4_esyscmd(grep Version META | cut -d ':' -f 2 | tr -d ' \n')) | |
35 | AC_LANG(C) | |
36 | ZFS_AC_META | |
37 | AC_CONFIG_AUX_DIR([config]) | |
38 | AC_CONFIG_MACRO_DIR([config]) | |
39 | AC_CANONICAL_SYSTEM | |
40 | AM_MAINTAINER_MODE | |
41 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | |
42 | AM_INIT_AUTOMAKE | |
43 | AC_CONFIG_HEADERS([zfs_config.h], [ | |
44 | (mv zfs_config.h zfs_config.h.tmp && | |
45 | awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h && | |
46 | rm zfs_config.h.tmp) || exit 1]) | |
47 | ||
48 | AC_PROG_INSTALL | |
49 | AC_PROG_CC | |
50 | AC_PROG_LIBTOOL | |
51 | AM_PROG_AS | |
52 | ||
53 | ZFS_AC_LICENSE | |
54 | ZFS_AC_PACKAGE | |
55 | ZFS_AC_CONFIG | |
56 | ZFS_AC_DEBUG | |
57 | ZFS_AC_DEBUG_DMU_TX | |
58 | ||
59 | AC_CONFIG_FILES([ | |
60 | Makefile | |
61 | module/Makefile | |
62 | module/avl/Makefile | |
63 | module/nvpair/Makefile | |
64 | module/unicode/Makefile | |
65 | module/zcommon/Makefile | |
66 | module/zfs/Makefile | |
67 | module/zpios/Makefile | |
68 | include/Makefile | |
69 | include/linux/Makefile | |
70 | include/sys/Makefile | |
71 | include/sys/fs/Makefile | |
72 | include/sys/fm/Makefile | |
73 | include/sys/fm/fs/Makefile | |
74 | zfs.release | |
75 | ]) | |
76 | ||
77 | AC_OUTPUT |