Annotation of embedaddon/igmpproxy/configure.ac, revision 1.1.1.1
1.1 misho 1: AC_PREREQ([2.63])
2: AC_INIT([igmpproxy], [0.1])
3: AM_INIT_AUTOMAKE
4: AC_CONFIG_SRCDIR([src/igmpproxy.c])
5: AC_CONFIG_HEADERS([config.h])
6: AC_PROG_CC_C99
7:
8: AC_CANONICAL_HOST
9: case $host_os in
10: linux*) os=linux;;
11: freebsd*) os=freebsd;;
12: netbsd*) os=netbsd;;
13: openbsd*) os=openbsd;;
14: dragonfly*) os=dragonfly;;
15: *) AC_MSG_ERROR([OS $host_os is not supported]);;
16: esac
17: AC_CONFIG_LINKS([src/os.h:src/os-${os}.h])
18:
19: AC_CHECK_MEMBERS([struct sockaddr.sa_len], [], [], [[
20: #include <sys/types.h>
21: #include <sys/socket.h>
22: ]])
23: AC_CHECK_MEMBERS([struct sockaddr_in.sin_len], [], [], [[
24: #include <sys/types.h>
25: #include <netinet/in.h>
26: ]])
27:
28: AC_CONFIG_FILES([
29: Makefile
30: doc/Makefile
31: src/Makefile
32: doc/igmpproxy.8
33: doc/igmpproxy.conf.5
34: ])
35: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>