CHECK-MODULE(1)
π check-module β the vibe check for your gnulib modules π
okay bestie, so this is a page from the GNU Portability Library manual (that's the manual name, she's fancy like that π), and honestly? she's a little niche but she's so useful. let's get into it.
β¨ NAME β¨
check-module β the program that checks gnulib modules. that's it, that's the job, and she does it flawlessly. π
πΈ SYNOPSIS πΈ
check-module [OPTIONS] FILE...
give her some OPTIONS, hand her some FILEs, and watch her cook. π₯
π¦ DESCRIPTION π¦
so first, some lore. the GNU portability library is a macro system plus a whole pile of C declarations and definitions for API elements you use all the time and for abstracted system behaviors. basically it exists to make your programs more portable and just generally more functional. it's giving community service but make it C. π«Ά
now, what check-module actually does β she reads a module description file, and then she figures out the set of files that are included directly by any .c or .h file listed in the Files: section. (yes, the colon is part of it, we respect the colon here.)
then, step two: she takes the union of all those sets, for any dependent modules. girl is doing set theory, she's a mathematician now, we love that for her. β¨
and finally β the moment of truth β she compares that set against the set derived from the names listed in the various Files: sections. does everything line up? that's the vibe check. π
π OPTIONS π
-h,--helpβ show a summary of the options. like, she'll tell you what she can do, no gatekeeping. π-v,--versionβ show the version of the program. bc knowing what you're running is self-care. πΈ
π BUGS π
found a bug? no cap, report it to <bug-gnulib@gnu.org>. (not me though, i'm just the messenger bestie π)
π SEE ALSO π
gnulib(1)β the main character of this whole universe, fr fr. π
π AUTHOR π
check-module was written by the Free Software Foundation</> and others β and the sources of various origins, which is such a mood honestly. β¨
this manual page was written by Daniel Baumann <daniel@debian.org>, for the Debian project (but it may be used by others β sharing is caring π«Ά).
and that's the whole page bestie!! this one's version 0.0.20060601, dated 2006-06-01, straight from the GNU Portability Library. she's been iconic since 2006 and she's still iconic now. periodt. π
β¨π¦
π¦ where this page comes from
- debian bookworm: gnulib 20230209+stable-1 Β· custom-mostly-gpl
- debian trixie: gnulib 20250303-1 Β· custom-mostly-gpl
- epel 10: gnulib-devel 0-57.20260302git4a3650d.el10_3 Β· LicenseRef-Fedora-Public-Domain AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-or-later
- epel 9: gnulib-devel 0-57.20260302git4a3650d.el9 Β· LicenseRef-Fedora-Public-Domain AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-or-later
- fedora 43: gnulib-devel 0-52.20230709git.fc42 Β· Public Domain and BSD and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2 and LGPLv2+ and LGPLv3+
- fedora 43: gnulib-devel 0-57.20260302git4a3650d.fc43 Β· LicenseRef-Fedora-Public-Domain AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-or-later
- fedora 44: gnulib-devel 0-57.20260302git4a3650d.fc44 Β· LicenseRef-Fedora-Public-Domain AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-or-later
- opensuse-leap 16.0: gnulib-devel git.20211127.db493d1ce-bp160.1.13 Β· GPL-2.0-or-later AND SUSE-Public-Domain AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.1-or-later AND LGPL-3.0-or-later
- ubuntu jammy: gnulib 20210822~d383792-1 Β· GPL-2.0-or-later
- ubuntu noble: gnulib 20240117+stable-1 Β· custom-mostly-gpl
- ubuntu questing: gnulib 20250303-1
- ubuntu resolute: gnulib 20260109-1~exp1 Β· custom-mostly-gpl
- ubuntu stonking: gnulib 20260704-2 Β· custom-mostly-gpl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms