File: configure.in

package info (click to toggle)
aggregate 1.0.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 304 kB
  • ctags: 117
  • sloc: ansic: 1,036; sh: 335; perl: 132; makefile: 83
file content (58 lines) | stat: -rw-r--r-- 1,409 bytes parent folder | download
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
)