APR-1-CONFIG(1)
π APR-1-CONFIG(1) π
okay bestie, welcome to the manual page for apr-1-config, a User Command and honestly a little backstage-pass legend. β¨
πΈ NAME πΈ
apr-1-config β returns metainformation about the apr library π«Ά
π SYNOPSIS π
apr-1-config [OPTION]
π¦ DESCRIPTION π¦
so the apr-1-config program is literally your girl for pulling info about the apr library that's chilling on your system. it's the one you call when you wanna compile and link against the library. main character behavior, no cap. π
when you're linking with libtool, your app should do something like this:
APR_LIBS="`apr-1-config --link-libtool --libs`"
or, if you're linking directly, like this:
APR_LIBS="`apr-1-config --link-ld --libs`"
and listen β an application should use the results of --cflags, --cppflags, --includes, and --ldflags in its build process. not optional vibes, bestie. do it. β¨
π OPTIONS π
these are the known values for OPTION, and yes we're doing all of them:
--prefix[=DIR]β change prefix to DIR--bindirβ print location where binaries are installed--includedirβ print location where headers are installed--ccβ print C compiler name--cppβ print C preprocessor name and any required options--cflagsβ print C compiler flags--cppflagsβ print C preprocessor flags--includesβ print include information--ldflagsβ print linker flags--libsβ print additional libraries to link against--srcdirβ print APR source directory--installbuilddirβ print APR build helper directory--link-ldβ print link switch(es) for linking to APR--link-libtoolβ print the libtool inputs for linking to APR--shlib-path-varβ print the name of the shared library path env var--apr-la-fileβ print the path to the.lafile, if available--apr-so-extβ print the extensions of shared objects on this platform--apr-lib-targetβ print the libtool target information--apr-libtoolβ print the path to APR's libtool--versionβ print the APR's version as a dotted triple--helpβ print the help
π AUTHOR π
this manual page was written by Vincent Danjean <Vincent.Danjean@ens-lyon.org> for the Debian project (but may be used by others). iconic of him honestly π«Ά
and that's the whole page, bestie π this was apr-1-config version 1.2.2, dated March 2006 β yes she's an elder but she still slays β¨ bye mwah π
πΈ
π¦ where this page comes from
- debian bookworm: libapr1-dev 1.7.2-3+deb12u1
- debian trixie: libapr1-dev 1.7.5-1
- ubuntu jammy: libapr1-dev 1.7.0-8build1
- ubuntu jammy: libapr1-dev 1.7.0-8ubuntu0.22.04.2
- ubuntu noble: libapr1-dev 1.7.2-3.1build2
- ubuntu noble: libapr1-dev 1.7.2-3.1ubuntu0.1
- ubuntu questing: libapr1-dev 1.7.5-1
- ubuntu resolute: libapr1-dev 1.7.6-3
- ubuntu stonking: libapr1-dev 1.7.6-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms