1 dnl Process this file with autoconf to produce a configure script.
3 AM_INIT_AUTOMAKE(libfaim, 0.99.1)
5 AC_PREFIX_DEFAULT(/usr)
6 AM_CONFIG_HEADER(include/libfaim_config.h)
8 dnl Checks for programs.
17 dnl Checks for libraries.
18 dnl Replace `main' with a function in -lfaim:
19 AC_CHECK_LIB(faim, aim_sessioninit)
20 dnl Replace `main' with a function in -lpcap:
21 dnl AC_CHECK_LIB(pcap, main)
23 LIBTOOL="$LIBTOOL --silent"
25 AC_ARG_ENABLE(debug, [ --disable-debug compile without debugging options],enable_debug=no,enable_debug=yes)
27 if test "$enable_debug" = yes ; then
28 CFLAGS="$CFLAGS -Wall -g"
33 dnl Checks for header files.
36 AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
38 dnl Checks for typedefs, structures, and compiler characteristics.
46 dnl Checks for library functions.
51 AC_CHECK_FUNCS(gethostname gettimeofday select socket strdup strstr strtol uname)
58 utils/faimtest/Makefile