diff options
author | Stef Walter <stef@memberwebs.com> | 2008-12-04 19:17:28 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-12-04 19:17:28 +0000 |
commit | 2e781f246f5fd8bb499467339f071af6b5bfa53c (patch) | |
tree | 7d5e218950e4060ade9e3f8613570165d7ff3c0f /configure.in |
Initial import
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..918856e --- /dev/null +++ b/configure.in @@ -0,0 +1,26 @@ +# Process this file with autoconf to produce a configure script. +AC_INIT(iptools, 0.2, nielsen@memberwebs.com) +AM_INIT_AUTOMAKE(iptools, 0.2) + +AC_CONFIG_SRCDIR([src/ipmunge.c]) +AM_CONFIG_HEADER([config.h]) + +# Checks for programs. +AC_PROG_CC +AC_PROG_INSTALL + +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_TYPE_SIZE_T + +# Checks for library functions. +AC_FUNC_MALLOC +AC_FUNC_MEMCMP +AC_CHECK_FUNCS([atexit inet_ntoa inet_pton memset strerror strspn strtol]) + +AC_CONFIG_FILES([Makefile src/Makefile]) +AC_OUTPUT |