-
Notifications
You must be signed in to change notification settings - Fork 17
/
configure.ac
73 lines (65 loc) · 2 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
##*****************************************************************************
## $Id$
##*****************************************************************************
## Process this file with autoconf to produce a configure script.
##*****************************************************************************
## Copyright (C) 2002-2006 The Regents of the University of California.
## Produced at Lawrence Livermore National Laboratory.
## Written by Mark Grondona <[email protected]>.
## UCRL-CODE-230739.
##
## This file is part of edac-utils.
##
## This is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
## for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##*****************************************************************************
AC_INIT
X_AC_META
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_SRCDIR([src/lib/edac.h])
AC_CANONICAL_HOST
#
# Automake support
#
AM_INIT_AUTOMAKE([$META_NAME], [$META_VERSION])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
#
# Checks for programs.
#
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_LN_S
AC_PROG_MAKE_SET
X_AC_DEBUG
AC_CHECK_HEADER([sysfs/libsysfs.h], [],
[AC_MSG_ERROR(
[Required header file sysfs/libsysfs.h not found.])
])
X_AC_LIBSYSFS
AC_CONFIG_FILES([
Makefile
src/Makefile
src/lib/Makefile
src/lib/edac.3
src/util/Makefile
src/util/edac-util.1
src/util/edac-ctl.8
src/util/edac-ctl
src/etc/Makefile
src/etc/edac.init
]
)
AC_OUTPUT