mkconfig is a build configuration utility. It creates an output file intended to be included as a header file, run as a shell script, used as a configuration file, or any other use. mkconfig is written in portable shell script and designed to be extensible for any configuration use.
2.625 Sep 2020 14:49
2.6 2020-9-25 Add support for pkg-config --cflags and pkg-config --libs; 2.5 2020-7 Rework domath function so that it can be used with osh.
2.415 Jun 2020 12:59
Added 'standard_cc' (env-cc), 'standard_system' (env-systype) commands.
Fixed 'defined', 'size' directives so that they will work with a cross-compile (MKC_CROSS=Y must be defined).
Added Makefile.inc for simple builds.
Made easier to use.
Move most work files to a sub-directory.
Fixed AIX shared library linking (xlc and gcc).
Fixed HP-UX shared library linking.
Fixed OSF1 (Tru64) shared library linking (cc and gcc).
Fixed Msys2 and Cygwin shared library linking (clang).
Tested on 23 platforms.
2.305 Jun 2020 14:03
Fixed an issue propogating LDFLAGS_SHARED.
Fix library check when using g++.
Propogate CFLAGS_OPTIMIZE and CFLAGS_DEBUG properly to linker.
Added bin/capabilities.sh script.
Added yash to the supported scripts list (version 2.48 or later; I don't know when its issues were fixed).
2.1.027 Dec 2018 19:24
Add test for shell interpolation bug. Use printf if possible for POSIX compliance.
env-cc: Fix cflags_shared.
env-cc: Pick up all cflags* and ldflags* defaults from the environment.
mkcl.sh: Fix processing of LDFLAGS.
mkcl.sh: Support .m extension.
mkcl.sh: Support command line set of env vars (must be quoted).
env-cc: Add support for DragonFlyBSD.
env-cc: Add support for pkgconfig files (findpc).
2.0.012 Aug 2018 15:38
C: split CFLAGS, LDFLAGS, LIBS into multiple environment variables for easier processing. D language is probably broken.
C: fix shared flags
C: Various bug fixes for msys2, tru64, etc.
Clean up interfaces to mkcl.sh, mkstaticlib.sh
Clean output style for mkc.sh.
Added compilation log file.
Added 'findconfig' and 'addconfig' commands for *Config.sh files.
Removed 'findincludefile' command.
Remove mksharedlib.sh (now part of mkcl.sh).
1.3112 Apr 2018 04:38
env-cc: update findincludepath to search more common paths.
Remove Makefile and MANIFEST from standard distribution.
1.3010 Apr 2018 11:44
Repo got completely mucked up. Restore lost code.
C: size: -lintl option for modern libintl.h.
C: printf_long_double : -lintl option for modern libintl.h.
Minor code cleanup.
1.2908 Apr 2018 17:27
1.2819 Jun 2017 14:09
Cleaned up some compiler warnings;
More fixes for msys/mingw.