-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
58 lines (47 loc) · 1.33 KB
/
configure.ac
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
# -*- Autoconf -*-
# @configure_input@
#
# Configuration scipt for eCAP Library
#
# Process this file with autoconf to produce a configure script.
AC_INIT([HTTP Paxxer], [0.0.x], [], [HttpPaxxer])
HTTP_PAXXER_LIBRARY_VERSION=0:0:0
AC_SUBST(HTTP_PAXXER_LIBRARY_VERSION)
AC_CONFIG_AUX_DIR(cfgaux)
AC_CONFIG_MACRO_DIR(cfgaux)
AC_CONFIG_SRCDIR([src/HttpPaxxer/Paxxer.h])
AC_CONFIG_HEADERS(src/HttpPaxxer/ac-autoconf.h)
AX_PREFIX_CONFIG_H(src/HttpPaxxer/autoconf.h, HTTP_PAXXER)
AM_INIT_AUTOMAKE([-Wall foreign nostdinc])
AM_MAINTAINER_MODE
AM_PROG_AR
LT_INIT
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
# Checks for library functions.
# Allow the pkg-config directory to be set
AC_ARG_WITH(pkgconfigdir,
AC_HELP_STRING([--with-pkgconfigdir],
[Use the specified pkgconfig dir (default is libdir/pkgconfig)]),
[pkgconfigdir=${withval}],
[pkgconfigdir='${libdir}/pkgconfig'])
AC_SUBST([pkgconfigdir])
AC_MSG_NOTICE([pkgconfig directory is ${pkgconfigdir}])
AC_CONFIG_FILES([
HttpPaxxer.pc
Makefile
src/Makefile
src/HttpPaxxer/Makefile
tests/Makefile
])
AC_OUTPUT