apu-config --version (return code: 0)
1.6.0
apu-config --help (return code: 0)
Usage: apu-1-config [OPTION]
Known values for OPTION are:
--prefix[=DIR] change prefix to DIR
--bindir print location where binaries are installed
--includes print include information
--includedir print location where headers are installed
--ldflags print linker flags
--libs print library information
--avoid-ldap do not include ldap library information with --libs (default on Debian)
--ldap-libs print library information to link with ldap
--avoid-dbm do not include DBM library information with --libs (default on Debian)
--dbm-libs print library information to link with DBM
--srcdir print APR-util source directory
--link-ld print link switch(es) for linking to APR-util
--link-libtool print the libtool inputs for linking to APR-util
--apu-la-file print the path to the .la file, if available
--old-expat indicate if APR-util was built against an old expat
--db-version print the DB version
--version print APR-util's version as a dotted triple
--help print this help
When linking with libtool, an application should do something like:
APU_LIBS="`apu-1-config --link-libtool --libs`"
or when linking directly:
APU_LIBS="`apu-1-config --link-ld --libs`"
An application should use the results of --includes, and --ldflags in
their build process.