mkconfig 2.6

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.

Tags bourne shell development build-tool
License Zlib
State stable

Recent Releases

2.625 Sep 2020 14:49 minor bugfix: 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 minor bugfix: 2.4 2020-6-13 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 examples/helloworld. Added 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 minor feature: 2.3 (2020-6-3) Fixed an issue propogating LDFLAGS_SHARED. Fix library check when using g++. Propogate CFLAGS_OPTIMIZE and CFLAGS_DEBUG properly to linker. Added bin/ 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 major feature: 2.1.0 (2018-12-27) 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. Fix processing of LDFLAGS. Support .m extension. 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 major feature: 2.0.0 (2018-8-12) 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, Clean output style for Added compilation log file. Added 'findconfig' and 'addconfig' commands for * files. Removed 'findincludefile' command. Remove (now part of
1.3112 Apr 2018 04:38 minor bugfix: 1.31 (2018-4-11) env-cc: update findincludepath to search more common paths. Remove Makefile and MANIFEST from standard distribution.
1.3010 Apr 2018 11:44 cleanup: 1.30 2018-4-10 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. Update copyrights.
1.2908 Apr 2018 17:27 cleanup: Updated packaging.
1.2819 Jun 2017 14:09 minor feature: Cleaned up some compiler warnings; More fixes for msys/mingw.