Changes for kernel and Busybox
[tomato.git] / release / src / router / bpalogin / configure.in
blobd2d42da8bcdb36b18dae1eed3975b8b9cb425c03
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(bpalogin.c)
4 dnl Checks for programs.
5 AC_PROG_CC
6 AC_PROG_INSTALL
8 dnl Checks for libraries.
10 dnl Checks for header files.
11 AC_HEADER_STDC
12 AC_CHECK_HEADERS(sys/time.h syslog.h unistd.h)
14 dnl Checks for typedefs, structures, and compiler characteristics.
15 AC_C_CONST
16 AC_HEADER_TIME
18 dnl Checks for library functions.
19 AC_TYPE_SIGNAL
20 AC_FUNC_VPRINTF
21 AC_CHECK_FUNCS(select socket strcspn strerror)
22 AC_CHECK_LIB(nsl, gethostbyname)
23 AC_CHECK_LIB(socket, connect)
25 AC_PATH_PROG(CHKCONFIG, chkconfig, , $PATH:/sbin:/usr/sbin:/usr/local/sbin)
26 AC_PATH_PROG(SED, sed, , $PATH:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin)
27 AC_OUTPUT(Makefile)