]> andersk Git - libfaim.git/blob - configure.in
Rearrange.
[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 AM_CONFIG_HEADER(include/libfaim_config.h)
6
7 dnl Checks for programs.
8 AC_PROG_CC
9 AC_PROG_CXX
10 AC_PROG_INSTALL
11 AC_PROG_LN_S
12 AC_PROG_MAKE_SET
13 AC_PROG_RANLIB
14 AM_PROG_LIBTOOL
15
16 dnl Checks for libraries.
17 dnl Replace `main' with a function in -lfaim:
18 AC_CHECK_LIB(faim, aim_sessioninit)
19 dnl Replace `main' with a function in -lpcap:
20 dnl AC_CHECK_LIB(pcap, main)
21
22 dnl Checks for header files.
23 AC_HEADER_STDC
24 AC_HEADER_SYS_WAIT
25 AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
26
27 dnl Checks for typedefs, structures, and compiler characteristics.
28 AC_C_CONST
29 AC_C_INLINE
30 AC_TYPE_PID_T
31 AC_TYPE_SIZE_T
32 AC_HEADER_TIME
33 AC_STRUCT_TM
34
35 dnl Checks for library functions.
36 AC_FUNC_MEMCMP
37 AC_TYPE_SIGNAL
38 AC_FUNC_STRFTIME
39 AC_FUNC_VPRINTF
40 AC_CHECK_FUNCS(gethostname gettimeofday select socket strdup strstr strtol uname)
41
42 AC_OUTPUT([
43         Makefile
44         include/Makefile
45         src/Makefile
46         utils/Makefile
47         utils/faimtest/Makefile
48 ])
49
This page took 0.047217 seconds and 5 git commands to generate.