forked from latchset/luksmeta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
45 lines (37 loc) · 922 Bytes
/
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
AC_PREREQ(2.59)
AC_INIT(luksmeta, 9)
AC_CANONICAL_SYSTEM
AC_PROG_CC_C99
AM_INIT_AUTOMAKE([subdir-objects foreign no-dist-gzip dist-bzip2 parallel-tests])
AM_SILENT_RULES([yes])
AM_PROG_CC_C_O
LT_INIT([disable-static])
PKG_PROG_PKG_CONFIG([0.25])
PKG_CHECK_MODULES([cryptsetup], [libcryptsetup >= 1.5.1])
LUKSMETA_CFLAGS="\
-Wall \
-Wextra \
-Werror \
-Wstrict-aliasing \
-Wchar-subscripts \
-Wformat-security \
-Wmissing-declarations \
-Wmissing-prototypes \
-Wnested-externs \
-Wpointer-arith \
-Wshadow \
-Wsign-compare \
-Wstrict-prototypes \
-Wtype-limits \
-Wunused-function \
-Wno-missing-field-initializers \
-Wno-unused-parameter \
"
AC_SUBST([LUKSMETA_CFLAGS])
AC_CHECK_PROGS(A2X, [a2x])
if test "x$A2X" = "x"; then
AC_MSG_WARN([asciidoc / a2x not found -- man pages will not be generated and installed!])
fi
AM_CONDITIONAL(HAVE_A2X, [test -n "$A2X"])
AC_CONFIG_FILES([luksmeta.pc Makefile])
AC_OUTPUT