Release lksctp-tools-1.0.15
[lksctp-tools.git] / configure.ac
blob82fb7d5d4149577e4726acfd8803d31dd7193144
1 dnl -*-autoconf-*-
3 dnl lksctp-tools: Autoconf script
4 dnl
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
11 dnl Package info
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 $)
22 AM_INIT_AUTOMAKE
23 m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
24 AM_SILENT_RULES([yes])
26 dnl Set defaults
27 dnl CFLAGS="$CFLAGS -g -Wall"
29 dnl Checks for programs.
30 AC_PROG_AWK
31 AC_PROG_CC
32 AC_PROG_INSTALL
33 AC_PROG_LN_S
34 AC_ISC_POSIX
36 dnl Checks for libraries.
37 AC_LIBTOOL_DLOPEN
38 AC_PROG_LIBTOOL
39 AC_SUBST(LIBTOOL_DEPS)
41 dnl Checks for header files.
42 AC_HEADER_STDC
43 AC_HEADER_SYS_WAIT
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.
47 AC_C_CONST
48 AC_C_INLINE
49 AC_TYPE_SIZE_T
50 AC_HEADER_TIME
51 AC_STRUCT_TM
52 AC_C_VOLATILE
54 # Checks for library functions.
55 AC_FUNC_MALLOC
56 AC_FUNC_MEMCMP
57 AC_FUNC_REALLOC
58 AC_FUNC_SELECT_ARGTYPES
59 AC_FUNC_SETVBUF_REVERSED
60 AC_FUNC_VPRINTF
61 AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul])
63 AC_CONFIG_FILES([lksctp-tools.spec
64                 Makefile
65                 bin/Makefile
66                 man/Makefile
67                 src/Makefile
68                 src/apps/Makefile
69                 src/func_tests/Makefile
70                 src/include/Makefile
71                 src/include/netinet/Makefile
72                 src/lib/Makefile
73                 src/testlib/Makefile
74                 src/withsctp/Makefile
75                 doc/Makefile])
76 AC_OUTPUT