1998-08-30 09:57:13 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
1999-10-20 16:43:17 +00:00
|
|
|
|
1998-08-30 09:57:13 +00:00
|
|
|
AC_INIT(capi20.c)
|
2000-11-12 16:06:41 +00:00
|
|
|
AM_INIT_AUTOMAKE(libcapi20,2.0.6)
|
1998-08-30 09:57:13 +00:00
|
|
|
AC_PREFIX_DEFAULT(/usr)
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
1999-10-20 16:43:17 +00:00
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
AC_SUBST(LIBTOOL_DEPS)
|
1998-08-30 09:57:13 +00:00
|
|
|
|
|
|
|
dnl Checks for header files.
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)
|
1999-10-20 16:43:17 +00:00
|
|
|
AC_CHECK_HEADERS(linux/capi.h)
|
1998-08-30 09:57:13 +00:00
|
|
|
|
|
|
|
dnl Checks for library functions.
|
|
|
|
AC_CHECK_FUNCS(select)
|
|
|
|
|
1999-10-20 16:43:17 +00:00
|
|
|
dnl Read the libtool configuration
|
|
|
|
rm -f conftest
|
|
|
|
./libtool --config > conftest
|
|
|
|
. ./conftest
|
2000-07-25 13:56:50 +00:00
|
|
|
dnl rm -f conftest
|
1999-10-20 16:43:17 +00:00
|
|
|
|
1998-08-30 09:57:13 +00:00
|
|
|
AC_SUBST(INSTALL)
|
|
|
|
AC_OUTPUT(Makefile)
|