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 of libcdaudio to standard output. the receipts, basically πŸ“œ
  • --libs β€” prints the linker flags that are necessary to link a libcdaudio program. this is the "how do i glue it together" flag πŸ”—
  • --cflags β€” prints the compiler flags that are necessary to compile a libcdaudio program. this is the "how do i build it" flag πŸ› οΈ
  • --prefix=PREFIX β€” if you specify this, it uses PREFIX instead of the installation prefix that libcdaudio was built with when computing the output for the --cflags and --libs options. this option is also used for the exec prefix if --exec-prefix was not specified.
⚠️ it MUST be specified before any --libs or --cflags options. order matters, bestie, fr fr.
  • --exec-prefix=PREFIX β€” if you specify this, it uses PREFIX instead of the installation exec prefix that libcdaudio was built with when computing the output for the --cflags and --libs options.
⚠️ same deal: this one MUST be specified before any --libs or --cflags options. don't get it twisted πŸ™ˆ

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 πŸ’‹πŸ’–