forked from iana-org/dnssec-keytools-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
81 lines (61 loc) · 1.43 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
73
74
75
76
77
78
79
80
81
# $Id: configure.ac 73 2010-02-24 22:35:38Z jakob $
m4_sinclude([version.m4])
AC_PREREQ(2.59)
AC_INIT([icann-keytools], KEYTOOLS_VERSION)
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE(foreign)
AC_CONFIG_SRCDIR([keybackup/keybackup.c])
AC_CONFIG_SRCDIR([kskgen/pkcs11-genksk.c])
AC_CONFIG_SRCDIR([ksrsigner/ksrsigner.c])
AC_CONFIG_HEADER([config.h])
AC_USE_SYSTEM_EXTENSIONS
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
ACX_PEDANTIC
ACX_STRICT
ACX_ANALYZE
ACX_32BIT
ACX_64BIT
# Checks for libraries.
AC_CHECK_LIB([dl], [dlopen])
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([getpass getpassphrase])
AC_REPLACE_FUNCS(strlcpy)
AC_REPLACE_FUNCS(strlcat)
CHECK_SSL
CHECK_SOFTHSM
CHECK_OPENSC
AC_PATH_PROG(OPENSSL, openssl)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN(${PACKAGE_NAME}, [Doxyfile], [doxygen-doc])
AC_CONFIG_FILES([
Makefile
keybackup/Makefile
kskgen/Makefile
ksrsigner/Makefile
changepin/Makefile
checks/Makefile
utils/Makefile
Doxyfile
])
if test -n "${SOFTHSM_PROVIDER}"; then
AC_CONFIG_FILES([checks/softhsm.hsmconfig])
fi
if test -n "${PKCS11SPY_PROVIDER}"; then
AC_CONFIG_FILES([checks/pkcs11spy.hsmconfig])
fi
AC_OUTPUT