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 .la file, 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 πŸ’…πŸŒΈ