Commit | Line | Data |
---|---|---|
c5de9e27 AT |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_INIT(icmpmonitor.c) | |
3 | ||
4 | dnl Checks for programs. | |
5 | AC_PROG_CC | |
6 | AC_PROG_INSTALL | |
7 | ||
8 | dnl Checks for libraries. | |
9 | AC_CHECK_LIB(nsl, gethostbyname) | |
10 | AC_CHECK_LIB(socket, socketpair) | |
11 | ||
12 | dnl Checks for header files. | |
13 | AC_HEADER_STDC | |
14 | AC_CHECK_HEADERS(sys/time.h syslog.h unistd.h sys/fcntl.h fcntl.h) | |
15 | ||
16 | dnl Checks for typedefs, structures, and compiler characteristics. | |
17 | AC_C_CONST | |
18 | AC_TYPE_SIZE_T | |
19 | AC_HEADER_TIME | |
20 | ||
21 | dnl Checks for library functions. | |
22 | AC_TYPE_SIGNAL | |
23 | AC_FUNC_VPRINTF | |
24 | AC_CHECK_FUNCS(openlog closelog syslog gettimeofday select socket strdup vsnprintf vsprintf) | |
25 | ||
26 | AC_OUTPUT(Makefile) |