1 dnl Process this file with autoconf to produce a configure script.
4 AC_CONFIG_HEADER(config.h)
15 AC_CHECK_HEADERS(stdint.h inttypes.h)
16 AC_CHECK_HEADERS(linux/if.h)
18 AC_CHECK_SIZEOF(unsigned long long)
19 AC_CHECK_SIZEOF(unsigned long)
20 AC_CHECK_SIZEOF(unsigned int)
21 AC_CHECK_SIZEOF(unsigned short)
22 AC_CHECK_SIZEOF(unsigned char)
24 AC_CHECK_LIB(gmp,mpz_init_set_str)
25 AC_CHECK_LIB(gmp2,mpz_init_set_str)
26 AC_CHECK_LIB(fl,yywrap)
27 AC_CHECK_LIB(adns,adns_init)
28 AC_CHECK_LIB(getopt,getopt_long)
29 AC_CHECK_LIB(gnugetopt,getopt_long)
31 dnl check for getopt in standard library
33 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )
35 AC_CHECK_FUNCS(snprintf , , [LIBOBJS="$LIBOBJS snprintf.o"] )
38 AC_OUTPUT(Makefile,echo timestamp >stamp-h)