mkconfig 2.6.3

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.6.330 Jan 2021 19:26 minor feature: 2.6.3 2021-1-30 Fix 'pkg libs' directive.
2.6.230 Jan 2021 18:51 minor feature: 2.6.2 2021-1-30 Add 'pkg include' directive. Update documentation. 2.6.1 2020-9-25 Fix PKG_CONFIG_PATH handling.
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 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 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/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.224 May 2020 16:26 major feature: 2.2 (2020-5-22) Added support for oilshell (osh; oilshell.org). mkcl.sh will display its messages as a single printf so that make -j does not look really weird.
2.1.126 Jun 2019 16:59 major feature: 2.1.1 (2019-6-25) env-cc: Fix getconf/cflags_system. Fix putsnonl function when 'echo' is in use.
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. 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 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 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 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.