]> andersk Git - libfaim.git/blob - configure.in
forgot these
[libfaim.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/login.c)
3 AM_INIT_AUTOMAKE(libfaim, 0.99.1)
4
5 AC_PREFIX_DEFAULT(/usr)
6 AM_CONFIG_HEADER(include/libfaim_config.h)
7
8 dnl Checks for programs.
9 AC_PROG_CC
10 AC_PROG_CXX
11 AC_PROG_INSTALL
12 AC_PROG_LN_S
13 AC_PROG_MAKE_SET
14 AC_PROG_RANLIB
15 AM_PROG_LIBTOOL
16
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)
22
23 dnl Checks for header files.
24 AC_HEADER_STDC
25 AC_HEADER_SYS_WAIT
26 AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
27
28 dnl Checks for typedefs, structures, and compiler characteristics.
29 AC_C_CONST
30 AC_C_INLINE
31 AC_TYPE_PID_T
32 AC_TYPE_SIZE_T
33 AC_HEADER_TIME
34 AC_STRUCT_TM
35
36 dnl Checks for library functions.
37 AC_FUNC_MEMCMP
38 AC_TYPE_SIGNAL
39 AC_FUNC_STRFTIME
40 AC_FUNC_VPRINTF
41 AC_CHECK_FUNCS(gethostname gettimeofday select socket strdup strstr strtol uname)
42
43 AC_OUTPUT([
44         Makefile
45         include/Makefile
46         src/Makefile
47         utils/Makefile
48         utils/faimtest/Makefile
49 ])
50
This page took 0.038188 seconds and 5 git commands to generate.