Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 59 lines (46 sloc) 1.061 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
3 AC_PREREQ(2.53)
4
5 m4_define(my_package, [fwknop])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
6 m4_define(my_version, [2.0.0-alpha])
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)
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
11 AM_INIT_AUTOMAKE(my_package, my_version)
12
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
13 dnl AM_MAINTAINER_MODE
14
15 AC_CONFIG_HEADER([config.h])
16
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
17 AC_GNU_SOURCE
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
18
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
19 AC_PROG_CC
20 AM_PROG_CC_C_O
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
21 AC_PROG_CXX
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
22 AC_PROG_RANLIB
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
23 AC_PROG_CPP
24 AC_PROG_INSTALL
25 AC_PROG_LN_S
26 AC_PROG_MAKE_SET
27
28 # Checks for header files.
29 #
30 AC_HEADER_STDC
31 AC_CHECK_HEADERS([locale.h stdlib.h string.h sys/time.h unistd.h])
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
32
33 # Type checks.
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
34 #
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored
35 AC_C_INLINE
36 AC_CHECK_SIZEOF(unsigned int)
37 AC_TYPE_OFF_T
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
38 AC_TYPE_SIZE_T
39 AC_TYPE_INT16_T
40 AC_TYPE_INT32_T
41 AC_TYPE_INT64_T
42 AC_TYPE_INT8_T
43 AC_TYPE_SIZE_T
44 AC_HEADER_TIME
45 AC_TYPE_UINT32_T
46 AC_TYPE_UINT8_T
47 AC_C_CONST
48
49 # Checks for library functions.
50 #
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
51 AC_FUNC_MALLOC
52 AC_CHECK_FUNCS([bzero gettimeofday memmove memset setlocale strchr strdup])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
53
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
54 AC_CONFIG_FILES([Makefile
55 fko/Makefile
56 src/Makefile])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored
57
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored
58 AC_OUTPUT
Something went wrong with that request. Please try again.