From a524fe5e882c62e343b15248d5622c0ade8ad472 Mon Sep 17 00:00:00 2001 From: Thomas Habets Date: Sun, 3 Nov 2002 19:47:58 +0000 Subject: . --- arping-2/configure.in | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 arping-2/configure.in (limited to 'arping-2/configure.in') diff --git a/arping-2/configure.in b/arping-2/configure.in new file mode 100644 index 0000000..e083609 --- /dev/null +++ b/arping-2/configure.in @@ -0,0 +1,37 @@ +dnl $Id: configure.in 737 2002-11-03 19:47:58Z marvin $ + +AC_INIT(arping2.c) +AC_CONFIG_HEADER(config.h) + +AC_PROG_CC +AC_PROG_INSTALL + +AC_PROG_GCC_TRADITIONAL +if test "$GCC" = yes ; then + CFLAGS="$CFLAGS -Wall" +fi + +AC_CHECK_HEADERS(net/bpf.h) + +AC_MSG_CHECKING(If this is WeirdBSD) +case `uname -s` in + *BSD) + AC_DEFINE(HAVE_WEIRD_BSD, 1, [define if you have WeirdBSD]) + AC_MSG_RESULT(yes) + ;; + *) + AC_MSG_RESULT(no) + ;; +esac + +AC_MSG_CHECKING(for explicit size type support) +AC_TRY_COMPILE( + [#include ], + [u_int32_t foo;], + AC_DEFINE(HAVE_ESIZE_TYPES, 1, [Define this if your system has u_int32_t and such]) + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no)) + +AC_PREFIX_DEFAULT(/usr/local) + +AC_OUTPUT(config.h) -- cgit v1.2.1