LIBCDAUDIO-CONFIG(1)
π LIBCDAUDIO-CONFIG π
okay bestie, so you found the libcdaudio helper script, aka section 1 of the manual, and honestly? it's giving β¨build-system fairy godmotherβ¨. let's get into it.
β¨ NAME β¨
libcdaudio-config β a lil script that tells you everything about the installed version of libcdaudio π
π¦ SYNOPSIS π¦
libcdaudio-config [--prefix [=DIR] [--exec-prefix [=DIR] [--version]
[--libs] [--cflags]
(yes that's literally how it's written, brackets and all, no cap π )
πΈ DESCRIPTION πΈ
so like, libcdaudio-config is the tool you run to figure out the compiler flags and linker flags you need to actually compile and link programs that use libcdaudio. it's the vibe check your build system needs before it does anything π«Ά
and not only that β it's also used internally by the .m4 macros for GNU autoconf that ship with libcdaudio. so it's lowkey working behind the scenes the whole time, main character energy but offscreen π
π OPTIONS π
--versionβ prints the currently installed version oflibcdaudioto standard output. the receipts, basically π--libsβ prints the linker flags that are necessary to link alibcdaudioprogram. this is the "how do i glue it together" flag π--cflagsβ prints the compiler flags that are necessary to compile alibcdaudioprogram. this is the "how do i build it" flag π οΈ--prefix=PREFIXβ if you specify this, it uses PREFIX instead of the installation prefix thatlibcdaudiowas built with when computing the output for the--cflagsand--libsoptions. this option is also used for the exec prefix if--exec-prefixwas not specified.
β οΈ it MUST be specified before any--libsor--cflagsoptions. order matters, bestie, fr fr.
--exec-prefix=PREFIXβ if you specify this, it uses PREFIX instead of the installation exec prefix thatlibcdaudiowas built with when computing the output for the--cflagsand--libsoptions.
β οΈ same deal: this one MUST be specified before any--libsor--cflagsoptions. don't get it twisted π
π COPYRIGHT π
Copyright Β© 1998 Owen Taylor Copyright Β© 2001 Matt Kraai
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
(translation: go off, use it, just keep the receipts in the docs β¨π)
and that's the whole page, bestie!! π this icon of a manual is version 0.99.4, dated 12 February 2001 β yeah she's vintage but she ATE, and she's still out here doing the absolute most for your build. slay, periodt, mwah ππ
π¦ where this page comes from
- debian bookworm: libcdaudio-dev 0.99.12p2-15 Β· GPL-2.0-or-later
- debian trixie: libcdaudio-dev 0.99.12p2-16 Β· GPL-2.0-or-later
- ubuntu jammy: libcdaudio-dev 0.99.12p2-15 Β· GPL-2.0-or-later
- ubuntu noble: libcdaudio-dev 0.99.12p2-15 Β· GPL-2.0-or-later
- ubuntu questing: libcdaudio-dev 0.99.12p2-16
- ubuntu resolute: libcdaudio-dev 0.99.12p2-16build1 Β· GPL-2.0-or-later
- ubuntu stonking: libcdaudio-dev 0.99.12p2-16build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms