1997-03-24 03:58:43 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
2012-04-21 12:48:44 +00:00
|
|
|
|
|
|
|
AC_PREREQ([2.68])
|
|
|
|
|
1997-03-24 03:58:43 +00:00
|
|
|
AC_INIT(ipppstats.c)
|
|
|
|
|
1997-10-26 23:08:38 +00:00
|
|
|
I4LVERSION=${I4LVERSION:-"?.?"}
|
2012-04-21 12:48:44 +00:00
|
|
|
CONFIG_SBINDIR=${sbindir:-"/sbin"}
|
|
|
|
CONFIG_MANDIR=${mandir:-"/usr/man"}
|
1997-10-26 23:08:38 +00:00
|
|
|
|
1997-03-24 03:58:43 +00:00
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CPP
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
dnl Checks for libraries.
|
|
|
|
|
|
|
|
dnl Checks for header files.
|
|
|
|
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h)
|
|
|
|
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
2012-04-21 12:48:44 +00:00
|
|
|
AC_TYPE_SIGNAL
|
1997-03-24 03:58:43 +00:00
|
|
|
|
|
|
|
dnl Checks for library functions.
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_CHECK_FUNCS(socket)
|
|
|
|
|
2012-04-21 12:48:44 +00:00
|
|
|
dnl Define which variables to substitute & which files to generate
|
1998-12-02 16:53:27 +00:00
|
|
|
AC_SUBST(I4LVERSION)
|
1997-10-26 23:08:38 +00:00
|
|
|
AC_SUBST(CONFIG_SBINDIR)
|
|
|
|
AC_SUBST(CONFIG_MANDIR)
|
2012-04-21 12:48:44 +00:00
|
|
|
|
1997-10-26 23:08:38 +00:00
|
|
|
AC_OUTPUT(Makefile ipppstats.man)
|