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.
  • -i progid β€” 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 to 1, verbose messages are output to stderr.
  • MKC_SHOW_CACHED β€” if set to 1 and MKC_VERBOSE is set to 1, cached results are output to stderr.
  • 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 unless MKC_NOCACHE variable is set to 1.
  • MKC_DELETE_TMPFILES β€” if set to 1, 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