File: configure.in

package info (click to toggle)
lksctp-tools 1.0.11%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,428 kB
  • ctags: 1,083
  • sloc: ansic: 13,039; sh: 9,885; makefile: 240
file content (73 lines) | stat: -rw-r--r-- 1,802 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
dnl -*-autoconf-*-

dnl lksctp-tools: Autoconf script
dnl 
dnl $Id: configure.in,v 1.1.1.2 2002/08/06 23:55:45 inaky Exp $

dnl (C) 2002 Intel Corporation
dnl     Iaky Prez-Gonzlez <inaky.perez-gonzalez@intel.com>
dnl      - Initial packaging

dnl Package info
dnl (CONFIG_AUX_DIR is for putting stuff in $TOPSRCDIR/bin, so we
dnl reduce clutter in the root; if we put it below AM_INIT_AUTOMAKE,
dnl configure will fail ...)

AC_INIT([src/apps/sctp_darn.c])
AC_CONFIG_AUX_DIR(bin)
AM_INIT_AUTOMAKE(lksctp-tools,1.0.11)
AC_CONFIG_SRCDIR([config.h.in])
AM_CONFIG_HEADER([config.h])
AC_REVISION($Revision: 1.1.1.2 $)

dnl Set defaults
dnl CFLAGS="$CFLAGS -g -Wall"

dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_ISC_POSIX

dnl Checks for libraries.
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
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])

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_STRUCT_TM
AC_C_VOLATILE

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_SETVBUF_REVERSED
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket strchr strerror strtol strtoul])

AC_CONFIG_FILES([lksctp-tools.spec
		Makefile
		bin/Makefile
		man/Makefile
		src/Makefile
        	src/apps/Makefile
        	src/func_tests/Makefile
        	src/include/Makefile
        	src/include/netinet/Makefile
        	src/lib/Makefile
        	src/testlib/Makefile
        	src/withsctp/Makefile
        	doc/Makefile])
AC_OUTPUT