1dnl Process this file with autoconf to produce a configure script. 2AC_INIT(tunala.c) 3AM_CONFIG_HEADER(config.h) 4AM_INIT_AUTOMAKE(tunala, 0.0.1-dev) 5 6dnl Checks for programs. (Though skip libtool) 7AC_PROG_CC 8dnl AC_PROG_LIBTOOL 9dnl AM_PROG_LIBTOOL 10 11dnl Checks for libraries. 12AC_CHECK_LIB(dl, dlopen) 13AC_CHECK_LIB(z, inflate) 14AC_CHECK_LIB(socket, socket) 15AC_CHECK_LIB(nsl, gethostbyname) 16 17dnl Checks for header files. 18AC_HEADER_STDC 19AC_CHECK_HEADERS(fcntl.h limits.h unistd.h) 20 21dnl Checks for typedefs, structures, and compiler characteristics. 22AC_C_CONST 23 24dnl Checks for library functions. 25AC_CHECK_FUNCS(strstr strtoul) 26AC_CHECK_FUNCS(select socket) 27AC_CHECK_FUNCS(dlopen) 28 29AC_OUTPUT(Makefile) 30