12345678910111213141516171819202122232425262728293031323334353637 |
- dnl tcpreplay configure script.
- dnl dugsong@anzen.com
- AC_INIT(tcpreplay.c)
- dnl Checks for programs.
- AC_PROG_CC
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
- dnl Use these compiler flags if we have gcc.
- dnl
- if test $ac_cv_prog_gcc = yes; then
- CCOPTS='-O3 -pipe -Wall'
- CFLAGS="$CCOPTS"
- fi
- dnl Checks for libraries.
- AC_CHECK_LIB(socket, socket)
- AC_CHECK_LIB(nsl, gethostbyname)
- dnl Checks for header files.
- AC_HEADER_STDC
- AC_CHECK_HEADERS(sys/time.h)
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_HEADER_TIME
- dnl Checks for library functions.
- AC_CHECK_FUNCS(gettimeofday)
- dnl Removed subprojects because Debian GNU/Linux provide
- dnl the required packages already... Raphael Bossek <bossek@debian.org>
- dnl AC_CONFIG_SUBDIRS(Libnet-0.99 libpcap-0.4)
- AC_CONFIG_HEADER(config.h)
- AC_OUTPUT(Makefile)
|