/[svn]/vendor/pxys2-2.1.0/pxyscand/configure.ac
ViewVC logotype

Contents of /vendor/pxys2-2.1.0/pxyscand/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3253 - (show annotations)
Wed Apr 2 20:46:18 2014 UTC (6 years, 10 months ago) by michael
File size: 1413 byte(s)
- Imported pxys2-2.1.0

1 dnl -*- Autoconf -*-
2 dnl Process this file with autoconf to produce a configure script.
3
4 AC_INIT([Proxy scanner daemon], 2.1, [mbuna@bugged.org], [pxscand])
5 AM_INIT_AUTOMAKE
6 AC_CONFIG_SRCDIR([src/pxyscand.cc])
7 AM_CONFIG_HEADER([config.h])
8 AM_MAINTAINER_MODE
9
10 dnl Checks for programs.
11 AC_PROG_CC
12 AC_PROG_CXX
13 AC_PROG_MAKE_SET
14 AC_DEFINE_UNQUOTED(DEBUG, 1, [Build debugging support])
15
16 dnl Checks for libraries.
17 AC_PATH_GENERIC(peak, 0.1.0,, AC_ERROR([required PEAK Library (libpeak) not found]))
18 XIPH_VAR_APPEND([CXXFLAGS], [$PEAK_CFLAGS])
19 XIPH_VAR_APPEND([CFLAGS], [$PEAK_CFLAGS])
20 XIPH_VAR_PREPEND([LIBS], [$PEAK_LIBS])
21
22 AC_PATH_GENERIC(xml2, 2.0.0,, AC_ERROR([required XML Library (libxml2) not found - See http://xmlsoft.org]))
23 XIPH_VAR_APPEND([CXXFLAGS], [$XML2_CFLAGS])
24 XIPH_VAR_PREPEND([LIBS], [$XML2_LIBS])
25
26 XIPH_VAR_APPEND([CXXFLAGS], [-I../../libopas])
27 XIPH_VAR_APPEND([CFLAGS], [-I../../libopas])
28
29 XIPH_VAR_APPEND([CXXFLAGS], [-I../../ipcache])
30 XIPH_VAR_APPEND([CFLAGS], [-I../../ipcache])
31
32 dnl Checks for header files
33 AC_HEADER_STDC
34 AC_CHECK_HEADERS([signal.h])
35
36 dnl Checks for typedefs, structures, and compiler characteristics.
37 AC_C_INLINE
38
39 dnl Checks for library functions.
40 AC_FUNC_FORK
41 AC_CHECK_FUNCS([gethostbyname gettimeofday memset select socket strerror])
42 AC_CHECK_FUNCS([strerror_r])
43
44 AC_CONFIG_FILES([Makefile src/Makefile px/Makefile])
45 AC_OUTPUT
46

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28