Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 73 lines (56 sloc) 1.361 kb
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
1 dnl Process thie file with autoconf to produce teh configure script
2
2a51204 Removing files that are auto-generated by the autogen.sh script.
Damien Stuart authored
3 AC_PREREQ(2.61)
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
4
5 m4_define(my_package, [fwknop])
e846cdd First cut at GPG encrytion support (decryption and doc update are pendin...
Damien Stuart authored
6 m4_define(my_version, [1.10.0-alpha])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
7 m4_define(my_bug_email, [dstuart@dstuart.org])
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
8
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
9 AC_INIT(my_package, my_version, my_bug_email)
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
10 AC_CONFIG_AUX_DIR(config)
e846cdd First cut at GPG encrytion support (decryption and doc update are pendin...
Damien Stuart authored
11
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
12 AM_INIT_AUTOMAKE(my_package, my_version)
13
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
14 dnl AM_MAINTAINER_MODE
15
16 AC_CONFIG_HEADER([config.h])
17
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
18 AC_GNU_SOURCE
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
19
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
20 AC_PROG_CC
21 AM_PROG_CC_C_O
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
22 AC_PROG_CXX
23 AC_PROG_CPP
24 AC_PROG_INSTALL
25 AC_PROG_LN_S
26 AC_PROG_MAKE_SET
474a787 more checks for configure. omit salt from Rijndael-encrypted data as re...
Damien Stuart authored
27 AC_PROG_RANLIB
e113cb7 Updates to allow for building libfko as a shared lib. (make use of libto...
Damien Stuart authored
28 AC_PROG_LIBTOOL
29
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
30 # Checks for header files.
31 #
32 AC_HEADER_STDC
98bb7ed Added some basic format checking to spa message data and message_type ch...
Damien Stuart authored
33 AC_CHECK_HEADERS([locale.h stdlib.h string.h sys/time.h unistd.h ctype.h])
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
34
35 # Type checks.
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
36 #
2a51204 Removing files that are auto-generated by the autogen.sh script.
Damien Stuart authored
37 AC_C_CONST
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
38 AC_TYPE_OFF_T
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
39 AC_TYPE_SIZE_T
40 AC_TYPE_INT16_T
41 AC_TYPE_INT32_T
42 AC_TYPE_INT64_T
43 AC_TYPE_INT8_T
44 AC_TYPE_SIZE_T
45 AC_HEADER_TIME
46 AC_TYPE_UINT32_T
47 AC_TYPE_UINT8_T
2a51204 Removing files that are auto-generated by the autogen.sh script.
Damien Stuart authored
48 AC_CHECK_SIZEOF(unsigned int)
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
49
50 # Checks for library functions.
51 #
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
52 AC_FUNC_MALLOC
474a787 more checks for configure. omit salt from Rijndael-encrypted data as re...
Damien Stuart authored
53 AC_FUNC_REALLOC
54 AC_CHECK_FUNCS([bzero gettimeofday memmove memset strchr strcspn strdup strndup strrchr strspn])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
55
e846cdd First cut at GPG encrytion support (decryption and doc update are pendin...
Damien Stuart authored
56 # Check for gpgme
2a51204 Removing files that are auto-generated by the autogen.sh script.
Damien Stuart authored
57 #AM_PATH_GPGME
e846cdd First cut at GPG encrytion support (decryption and doc update are pendin...
Damien Stuart authored
58 GPGME_SUPPORT="yes"
59 AC_CHECK_LIB(gpgme, gpgme_check_version, , GPGME_SUPPORT="no")
60
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
61 AC_CONFIG_FILES([Makefile
62 fko/Makefile
65e11ab Added documentation stub.
Damien Stuart authored
63 doc/Makefile
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
64 src/Makefile])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
65
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
66 AC_OUTPUT
e846cdd First cut at GPG encrytion support (decryption and doc update are pendin...
Damien Stuart authored
67
68 echo "
69 libfko v${VERSION} has been configured.
70
71 GPG encryption support: $GPGME_SUPPORT
72 "
Something went wrong with that request. Please try again.