ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure.ac
(Generate patch)

Comparing gvpe/configure.ac (file contents):
Revision 1.21 by pcg, Sat Jan 17 01:18:36 2004 UTC vs.
Revision 1.22 by pcg, Sat Jan 17 15:43:02 2004 UTC

44 44
45# Enable GNU extensions. 45# Enable GNU extensions.
46# Define this here, not in acconfig's @TOP@ section, since definitions 46# Define this here, not in acconfig's @TOP@ section, since definitions
47# in the latter don't make it into the configure-time tests. 47# in the latter don't make it into the configure-time tests.
48AC_DEFINE([_GNU_SOURCE], 1, [Enable GNU extenstions]) 48AC_DEFINE([_GNU_SOURCE], 1, [Enable GNU extenstions])
49AC_DEFINE([__USE_BSD], 1, [Enable BSD extensions]) 49
50# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
51dnl AC_DEFINE([_POSIX_SOURCE], 1, [Enable POSIX 1003.1 extensions])
52dnl AC_DEFINE([_XOPEN_SOURCE], 500, [Enable XOPEN extensions])
50 53
51ALL_LINGUAS="" 54ALL_LINGUAS=""
52 55
53dnl Checks for programs. 56dnl Checks for programs.
54AC_PROG_CC 57AC_PROG_CC
58AC_PROG_AWK 61AC_PROG_AWK
59AC_PROG_INSTALL 62AC_PROG_INSTALL
60AC_PROG_LN_S 63AC_PROG_LN_S
61AC_PROG_MAKE_SET 64AC_PROG_MAKE_SET
62AC_PROG_RANLIB 65AC_PROG_RANLIB
63
64AC_ISC_POSIX
65 66
66AC_ARG_ENABLE(iftype, 67AC_ARG_ENABLE(iftype,
67 [AC_HELP_STRING(--enable-iftype[=TYPE/SUBTYPE], [ 68 [AC_HELP_STRING(--enable-iftype[=TYPE/SUBTYPE], [
68 Use kernel/net device interface TYPE/SUBTYPE. 69 Use kernel/net device interface TYPE/SUBTYPE.
69 Working combinations are: 70 Working combinations are:
145AC_LANG(C++) 146AC_LANG(C++)
146AC_CHECK_HEADERS(ext/hash_map) 147AC_CHECK_HEADERS(ext/hash_map)
147 148
148dnl Checks for header files. 149dnl Checks for header files.
149AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 150AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
150 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ 151 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
151 sys/mman.h netinet/in.h]) 152 sys/mman.h netinet/in.h])
152AC_CHECK_HEADERS([net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h], [], [], 153AC_CHECK_HEADERS([arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h], [], [],
153[ 154[
154#include <sys/types.h> 155#include <sys/types.h>
155#include <sys/socket.h> 156#include <sys/socket.h>
156#ifdef HAVE_NETINET_IN_H 157#ifdef HAVE_NETINET_IN_H
157# include <netinet/in.h> 158# include <netinet/in.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines