do not remove already deleted filed
[platform/upstream/lksctp-tools.git] / configure.in
1 dnl -*-autoconf-*-
2
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 $
6
7 dnl (C) 2002 Intel Corporation
8 dnl     Iñaky Pérez-González <inaky.perez-gonzalez@intel.com>
9 dnl      - Initial packaging
10
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 ...)
15
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 $)
22
23 dnl Set defaults
24 dnl CFLAGS="$CFLAGS -g -Wall"
25
26 dnl Checks for programs.
27 AC_PROG_AWK
28 AC_PROG_CC
29 AC_PROG_INSTALL
30 AC_PROG_LN_S
31 AC_ISC_POSIX
32
33 dnl Checks for libraries.
34 AC_LIBTOOL_DLOPEN
35 AC_PROG_LIBTOOL
36 AC_SUBST(LIBTOOL_DEPS)
37
38 dnl Checks for header files.
39 AC_HEADER_STDC
40 AC_HEADER_SYS_WAIT
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])
42
43 dnl Checks for typedefs, structures, and compiler characteristics.
44 AC_C_CONST
45 AC_C_INLINE
46 AC_TYPE_SIZE_T
47 AC_HEADER_TIME
48 AC_STRUCT_TM
49 AC_C_VOLATILE
50
51 # Checks for library functions.
52 AC_FUNC_MALLOC
53 AC_FUNC_MEMCMP
54 AC_FUNC_REALLOC
55 AC_FUNC_SELECT_ARGTYPES
56 AC_FUNC_SETVBUF_REVERSED
57 AC_FUNC_VPRINTF
58 AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul])
59
60 AC_CONFIG_FILES([lksctp-tools.spec
61                 Makefile
62                 bin/Makefile
63                 man/Makefile
64                 src/Makefile
65                 src/apps/Makefile
66                 src/func_tests/Makefile
67                 src/include/Makefile
68                 src/include/netinet/Makefile
69                 src/lib/Makefile
70                 src/testlib/Makefile
71                 src/withsctp/Makefile
72                 doc/Makefile])
73 AC_OUTPUT