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(socket, socket) 14AC_CHECK_LIB(nsl, gethostbyname) 15 16dnl Checks for header files. 17AC_HEADER_STDC 18AC_CHECK_HEADERS(fcntl.h limits.h unistd.h) 19 20dnl Checks for typedefs, structures, and compiler characteristics. 21AC_C_CONST 22 23dnl Checks for library functions. 24AC_CHECK_FUNCS(strstr strtoul) 25AC_CHECK_FUNCS(select socket) 26AC_CHECK_FUNCS(dlopen) 27 28AC_OUTPUT(Makefile) 29