apr/debian/apr-1-config.1

93 lines
2.1 KiB
Groff

.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).