1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(ip_address.h)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(aggregate, 1.0.2)
dnl Checks for programs.
AC_PROG_CC
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(errno.h)
AC_CHECK_HEADERS(stdio.h)
AC_CHECK_HEADERS(string.h)
AC_CHECK_HEADERS(stdlib.h)
AC_CHECK_HEADERS(ctype.h)
AC_CHECK_HEADERS(sys/types.h)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_LIB(
popt,
poptGetContext,
:,
AC_MSG_ERROR(
""
"**********************************************************************"
"* aggregate requires the popt options parsing library available from"
"* ftp://ftp.rpm.org/pub/rpm/ and mirrors."
"**********************************************************************"
) ;\
)
AC_CHECK_LIB(
vanessa_logger,
vanessa_logger_closelog,
:,
AC_MSG_ERROR(
""
"**********************************************************************"
"* aggregate requires the vanessa_logger generic logging library"
"* available from"
"* ftp://ftp.verge.net.au/pub/vanessa/vanessa_logger/ and mirrors."
"**********************************************************************"
)
)
AC_CHECK_SIZEOF(char)
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
AC_OUTPUT(
Makefile
debian/Makefile
)
|