-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
67 lines (54 loc) · 1.23 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
AC_INIT([pcimaxfm], [0.1.1], [[email protected]], [pcimaxfm])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([include/config.h])
AC_DEFINE(
[PACKAGE_AUTHOR],
["Daniel Stien"],
[Define the author of the package.]
)
AC_DEFINE(
[PACKAGE_BUGREPORT_AUTHOR],
[PACKAGE_AUTHOR" <"PACKAGE_BUGREPORT">"],
[Define the author and email address for bug reports.]
)
AC_DEFINE(
[PACKAGE_COPYRIGHT],
["Copyright (C) 2007-2015 "PACKAGE_AUTHOR],
[Define the copyright string.]
)
AC_DEFINE(
[PACKAGE_DESCRIPTION],
["Driver for PCI MAX 2007+ and compatible FM transmitter cards."],
[Define the description of the package.]
)
AC_PROG_CC()
AC_PROG_CC_C99()
if test $ac_cv_prog_cc_c99 = "no"; then
AC_MSG_ERROR([
*** C compiler doesn't support C99.
])
fi
AM_PROG_CC_C_O()
AC_PROG_RANLIB()
PCIMAXFM_WITH_VERSION()
PCIMAXFM_TOOL_CLI_CHECKS()
PCIMAXFM_CHECK_ARCH()
PCIMAXFM_PATH_LINUX_HEADERS()
PCIMAXFM_CHECK_LINUX_VERSION()
PCIMAXFM_PATH_LINUX_MODULE()
PCIMAXFM_WITH_MAX_DEVS()
PCIMAXFM_WITH_MAJOR()
BASE_DIR=$(pwd)
AC_SUBST(BASE_DIR)
AC_OUTPUT([
Makefile
include/Makefile
scripts/Makefile
src/Makefile
src/common/Makefile
src/driver/Makefile
src/driver/linux/Kbuild
src/driver/linux/Makefile
src/tools/Makefile
src/tools/pcimaxctl/Makefile
])