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([lksctp-tools], [1.0.15], [], [], [http://www.lksctp.org/])
17 AC_CONFIG_AUX_DIR(bin)
18 AC_CONFIG_SRCDIR([src/apps/sctp_darn.c])
19 AC_CONFIG_HEADERS([config.h])
20 AC_CONFIG_MACRO_DIR([m4])
21 AC_REVISION($Revision: 1.1.1.2 $)
23 m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
24 AM_SILENT_RULES([yes])
27 dnl CFLAGS="$CFLAGS -g -Wall"
29 dnl Checks for programs.
36 dnl Checks for libraries.
39 AC_SUBST(LIBTOOL_DEPS)
41 dnl Checks for header files.
44 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])
46 dnl Checks for typedefs, structures, and compiler characteristics.
54 # Checks for library functions.
58 AC_FUNC_SELECT_ARGTYPES
59 AC_FUNC_SETVBUF_REVERSED
61 AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul])
63 AC_CONFIG_FILES([lksctp-tools.spec
69 src/func_tests/Makefile
71 src/include/netinet/Makefile