MKC_CHECK_PROG(1)
okay so bestie, buckle up β this is mkc_check_prog, and we're literally inside the MKC_CHECK_PROG(1) manual page. It's giving build-system helper energy, and we're gonna get through every detail together πβ¨
πΈ NAME πΈ
mkc_check_prog β detects presense of header file. Yep, that's the NAME line, spelling and all, no cap π«Ά
β¨ SYNOPSIS β¨
mkc_check_prog [OPTIONS] <progname>
mkc_check_prog -h
π DESCRIPTION π
So mkc_check_prog takes a name and looks for the file with that name which would be executable. It searches for that executable along the user's PATH. If an appropriate executable is found, a path to it is printed. Otherwise, an error message is printed and mkc_check_prog exits with error. Iconic behavior, honestly π
π OPTIONS π
-hβ display help message. Helpful bestie behavior fr fr.-iprogid β progid will be used as a part of_mkc_*cache file name. Cute little cache-name cameo.-dβ delete cache and temporary files. Cleanup era π-Dβ delete cache files. Cache files only, bestie.
π ENVIRONMENT π
PATHβ list of colon-separated directories. This is where the executable search happens.MKC_VERBOSEβ if set to1, verbose messages are output tostderr.MKC_SHOW_CACHEDβ if set to1andMKC_VERBOSEis set to1, cached results are output tostderr.MKC_CACHEDIRβ directory where temporary and cache files are created. If unset, they are created in a current directory.MKC_NOCACHEβ all results are cached unlessMKC_NOCACHEvariable is set to1.MKC_DELETE_TMPFILESβ if set to1, temporary files are removed.
π¦ EXAMPLES π¦
Run these little cuties like this:
mkc_check_prog gawk
mkc_check_prog c++
mkc_check_prog lua
π AUTHOR π
Aleksey Cheusov <vle@gmx.net>
okay bye bestie, signing off with MKC_CHECK_PROG(1), dated Dec 2, 2023 πβ¨π
π¦ where this page comes from
- alpine 3.24: mk-configure-doc 0.40.0-r1 Β· BSD-2-Clause
- arch rolling: mk-configure 0.40.3-1 Β· BSD
- opensuse-leap 16.0: mk-configure 0.39.3-bp160.1.12 Β· BSD-2-Clause AND MIT AND ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms