blob: 6e3c96585ee53fe93ca137143df52e3d5658bdc0 (
plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
.TH APR-1-CONFIG "1" "March 2006" "apr-1-config 1.2.2" "User Commands"
.SH NAME
apr-1-config \- Return metainformation about apr library
.SH SYNOPSIS
.B apr-1-config
[\fIOPTION\fR]
.SH DESCRIPTION
The
.I apr-1-config
program is used to retrieve information about the
.I apr
library in the system. It is typically used to compile
and link against the library.
.PP
When linking with libtool, an application should do something like:
.IP
APR_LIBS="`apr\-1\-config \fB\-\-link\-libtool\fR \fB\-\-libs\fR`"
.PP
or when linking directly:
.IP
APR_LIBS="`apr\-1\-config \fB\-\-link\-ld\fR \fB\-\-libs\fR`"
.PP
An application should use the results of \fB\-\-cflags\fR, \fB\-\-cppflags\fR, \fB\-\-includes\fR,
and \fB\-\-ldflags\fR in their build process.
.SH OPTIONS
Known values for OPTION are:
.TP
\fB\-\-prefix\fR[=\fIDIR\fR]
change prefix to DIR
.TP
\fB\-\-bindir\fR
print location where binaries are installed
.TP
\fB\-\-includedir\fR
print location where headers are installed
.TP
\fB\-\-cc\fR
print C compiler name
.TP
\fB\-\-cpp\fR
print C preprocessor name and any required options
.TP
\fB\-\-cflags\fR
print C compiler flags
.TP
\fB\-\-cppflags\fR
print C preprocessor flags
.TP
\fB\-\-includes\fR
print include information
.TP
\fB\-\-ldflags\fR
print linker flags
.TP
\fB\-\-libs\fR
print additional libraries to link against
.TP
\fB\-\-srcdir\fR
print APR source directory
.HP
\fB\-\-installbuilddir\fR print APR build helper directory
.TP
\fB\-\-link\-ld\fR
print link switch(es) for linking to APR
.TP
\fB\-\-link\-libtool\fR
print the libtool inputs for linking to APR
.TP
\fB\-\-shlib\-path\-var\fR
print the name of the shared library path env var
.TP
\fB\-\-apr\-la\-file\fR
print the path to the .la file, if available
.TP
\fB\-\-apr\-so\-ext\fR
print the extensions of shared objects on this platform
.TP
\fB\-\-apr\-lib\-target\fR
print the libtool target information
.TP
\fB\-\-apr\-libtool\fR
print the path to APR's libtool
.TP
\fB\-\-version\fR
print the APR's version as a dotted triple
.TP
\fB\-\-help\fR
print the help
.SH AUTHOR
This manual page was written by Vincent Danjean
<Vincent.Danjean@ens-lyon.org> for the Debian project (but may be used
by others).
|