3 dnl lksctp-tools: Autoconf script
5 dnl $Id: configure.in,v 1.1.1.2 2002/08/06 23:55:45 inaky Exp $
7 dnl (C) 2002 Intel Corporation
8 dnl Iñaky Pérez-González <inaky.perez-gonzalez@intel.com>
9 dnl - Initial packaging
12 dnl (CONFIG_AUX_DIR is for putting stuff in $TOPSRCDIR/bin, so we
13 dnl reduce clutter in the root; if we put it below AM_INIT_AUTOMAKE,
14 dnl configure will fail ...)
16 AC_INIT([src/apps/sctp_darn.c])
17 AC_CONFIG_AUX_DIR(bin)
18 AM_INIT_AUTOMAKE(lksctp-tools,1.0.10)
19 AC_CONFIG_SRCDIR([config.h.in])
20 AM_CONFIG_HEADER([config.h])
21 AC_REVISION($Revision: 1.1.1.2 $)
24 dnl CFLAGS="$CFLAGS -g -Wall"
26 dnl Checks for programs.
33 dnl Checks for libraries.
36 AC_SUBST(LIBTOOL_DEPS)
38 dnl Checks for header files.
41 AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h])
43 dnl Checks for typedefs, structures, and compiler characteristics.
51 # Checks for library functions.
55 AC_FUNC_SELECT_ARGTYPES
56 AC_FUNC_SETVBUF_REVERSED
58 AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul])
60 AC_CONFIG_FILES([lksctp-tools.spec
66 src/func_tests/Makefile
68 src/include/netinet/Makefile