http://www.azstarnet.com/~ymg/files/slsnif-0.4.0.tar.gz
[slsnif.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_REVISION($Revision$)dnl
3 AC_INIT(src/ascii.h)
4 AM_INIT_AUTOMAKE(slsnif, 0.4.0)
5 AC_LANG_C
6 dnl Checks for programs.
7 AC_ISC_POSIX
8 AC_PROG_CC
9 AC_PROG_INSTALL
10 AC_PROG_MAKE_SET
11 dnl Checks for libraries.
12
13 dnl Checks for header files.
14 AC_HEADER_STDC
15 AC_CHECK_HEADERS(fcntl.h unistd.h getopt.h time.h)
16 AC_CHECK_HEADERS(linux/kdev_t.h linux/major.h sys/timeb.h)
17
18 dnl Checks for typedefs, structures, and compiler characteristics.
19 AC_TYPE_PID_T
20
21 dnl Checks for library functions.
22 AC_TYPE_SIGNAL
23 AC_CHECK_FUNCS(select strdup getopt_long time ctime ftime)
24 AC_FUNC_SELECT_ARGTYPES
25 AM_CONFIG_HEADER(config.h)
26 AC_OUTPUT(Makefile src/Makefile)