blob: 24e161c50d1601619c766312b623d8c8d1e8fde4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(common.c)
AC_CONFIG_HEADER(conf.h)
dnl Checks for programs.
AC_PROG_CC
dnl Checks for libraries.
AC_CHECK_LIB(pcap, pcap_open_live)
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(termios.h sys/ioctl.h net/if.h netinet/in.h netinet/in_systm.h netinet/ip.h netinet/udp.h netinet/tcp.h netdb.h arpa/inet.h sys/socket.h fcntl.h linux/if_ether.h signal.h string.h stdlib.h stdio.h sys/time.h unistd.h sys/stat.h sys/types.h errno.h linux/sockios.h ctype.h sys/socket.h pcap/pcap.h)
dnl Check for typedefs, structures, and compiler characteristics.
AC_HEADER_TIME
dnl Checks for library functions.
AC_OUTPUT(Makefile)
|