From 2e781f246f5fd8bb499467339f071af6b5bfa53c Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Dec 2008 19:17:28 +0000 Subject: Initial import --- ChangeLog | 2 ++ Makefile.am | 4 ++++ autogen.sh | 11 +++++++++++ configure.in | 26 ++++++++++++++++++++++++++ src/p11-tests.c | 0 5 files changed, 43 insertions(+) create mode 100644 ChangeLog create mode 100644 Makefile.am create mode 100644 autogen.sh create mode 100644 configure.in create mode 100644 src/p11-tests.c diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..1cb4346 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,2 @@ +Version 0.2 + - Initial version diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..479e90a --- /dev/null +++ b/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = BUGS +SUBDIRS = src + + diff --git a/autogen.sh b/autogen.sh new file mode 100644 index 0000000..3f90c13 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e +set -x + +aclocal +autoheader +automake -a +autoconf +./configure "$@" + 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 diff --git a/src/p11-tests.c b/src/p11-tests.c new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3