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