1 | dnl Process this file with autoconf to produce a configure script. |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | |
2 | |
3 | AC_PREREQ(2.57) |
3 | AC_PREREQ(2.57) |
4 | AC_INIT(src/vped.C) |
4 | AC_INIT(src/vped.C) |
5 | AC_CANONICAL_TARGET |
5 | AC_CANONICAL_TARGET |
6 | AM_INIT_AUTOMAKE(vpe, 1.2) |
6 | AM_INIT_AUTOMAKE(vpe, 1.4) |
7 | AM_CONFIG_HEADER(config.h) |
7 | AM_CONFIG_HEADER(config.h) |
8 | AM_MAINTAINER_MODE |
8 | AM_MAINTAINER_MODE |
9 | |
9 | |
10 | AH_TOP([ |
10 | AH_TOP([ |
11 | #ifndef CONFIG_H__ |
11 | #ifndef CONFIG_H__ |
… | |
… | |
146 | AC_CHECK_HEADERS(ext/hash_map) |
146 | AC_CHECK_HEADERS(ext/hash_map) |
147 | |
147 | |
148 | dnl Checks for header files. |
148 | dnl Checks for header files. |
149 | AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
149 | AC_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 \ |
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/poll.h sys/mman.h netinet/in.h]) |
151 | sys/mman.h netinet/in.h]) |
152 | AC_CHECK_HEADERS([net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h], [], [], |
152 | AC_CHECK_HEADERS([net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h], [], [], |
153 | [ |
153 | [ |
154 | #include <sys/types.h> |
154 | #include <sys/types.h> |
155 | #include <sys/socket.h> |
155 | #include <sys/socket.h> |
156 | #ifdef HAVE_NETINET_IN_H |
156 | #ifdef HAVE_NETINET_IN_H |
… | |
… | |
204 | AC_LANG_PUSH(C) |
204 | AC_LANG_PUSH(C) |
205 | |
205 | |
206 | AC_HEADER_STDC |
206 | AC_HEADER_STDC |
207 | |
207 | |
208 | dnl argl, could somebody catapult darwin into the 21st century??? |
208 | dnl argl, could somebody catapult darwin into the 21st century??? |
209 | AC_CHECK_FUNCS(asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll) |
209 | AC_CHECK_FUNCS(asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall) |
210 | |
210 | |
211 | AC_FUNC_ALLOCA |
211 | AC_FUNC_ALLOCA |
212 | |
212 | |
213 | dnl Support for SunOS |
213 | dnl Support for SunOS |
214 | |
214 | |