./devel/mk-configure, Lightweight but powerful replacement for GNU autotools

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.40.0, Package name: mk-configure-0.40.0, Maintainer: cheusov

mk-configure is a lightweight replacement for GNU autoconf,
written in and for bmake (NetBSD make).


Required to run:
[devel/bmake]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 357.652 KB

Version history: (Expand)


CVS history: (Expand)


   2024-10-06 11:16:16 by Aleksey Cheusov | Files touched by this commit (2)
Log message:
Update to 0.40.0

  Fix build failure with bmake-20240909

  Fix tests/test_subprj_dash and derivatives failed with
  bmake-20240909

  feature dprintf: add __printflike(2,3) to dprintf(3)

  mkc_compiler_settings:
     * add CUSTOM.attribute_{aligned,always_inline,const,noreturn,pure,printflike}
       to compiler settings
     * add path to features to bmake

  Do not pass ${MAKEFLAGS} to recursive make invocation

  Fix examples/xxzip/Makefile
   2024-06-20 09:10:35 by Aleksey Cheusov | Files touched by this commit (2)
Log message:
Update to 0.39.4

  Fix bashism in examples/libdeps/test.mk.
  Thanks to wiz@NetBSD.org for problem report.
   2024-05-29 20:43:50 by Aleksey Cheusov | Files touched by this commit (1)
Log message:
Update HOMEPAGE to https://github.com/...
   2024-05-27 15:34:35 by Aleksey Cheusov | Files touched by this commit (2)
Log message:
Update to 0.39.3

  mkc_check_common.sh: do not hide stderr in function "find_n_match"
  used by MKC_CHECK_PROGS. As a result stderr of mkc_which and
  program we search for will be a part of
  _mkc_{custom_,}prog_XXX.res. This helps debugging.

  Before using gmake in mk/mkc_imp.foreign_autotools.mk and
  builtins/prog_gmake always unset environment variable MAKEFLAGS
  because bmake and gmake are incompatible.

  tests/WARNERR: improve test for clang-16.0.6 that does not warn
  about sign/unsigned pointer mistype
   2024-05-25 10:46:50 by Aleksey Cheusov | Files touched by this commit (3)
Log message:
Update to 0.39.2:

 Fix "bad condition" in mkc_imp.platform.mk. Affected versions: 0.39.1
 Add support for multi-token CC, CXX, CPP etc.
   2024-05-24 18:59:58 by Aleksey Cheusov | Files touched by this commit (2)
Log message:
Fix installation problem seen on OpenBSD where CPP is clang -E
   2024-05-24 16:31:05 by Aleksey Cheusov | Files touched by this commit (3)
Log message:
Update to 0.39.1

 Fix support for WARNERR=yes mode where -Werror option should be
 passed to compiler.  The problem happens when WARNS is set to 4 in
 Makefile.{common,inc}.
   2024-05-23 12:30:56 by Aleksey Cheusov | Files touched by this commit (3)
Log message:
Update to 0.39.0

  Invent new MKDEPEND variable for automatically generate dependency
  files while compiling.

  mkc_imp.{prog,lib}.mk:
     - while linking place objects after LDFLAGS* options and before
       LDADD* ones.

  MKC_FEATURE:
     - macro: add documentation for __UNCONST macro

  mkc.subprj.mk:
     - takes into account top-level "obj" directory

  mkc_check_custom, mkc_check_decl, mkc_check_funclib,
  mkc_check_header, mkc_check_prog:
     - add option -D for deleting only cache files

  Variables C{,XX}FLAGS.warns.<cctype>.<warn-level> was
  removed. Switch to using C{,XX}FLAGS.warns.<warn-level>.

  Output "ERROR:" message generated by MKC_REQUIRE_* to stderr

  Keep temporary _mkc_* files if MKC_REQUIRE_* check fails.  This
  allow easier debugging. Result files (*.res) are still removed.

  fixes:
     - mkc_check_compiler: problems seen on buggy /bin/sh on Solaris-10 :-/
     - Fix troubles with MKC_CHECK_HEADER_FILES with SunC.  The
       problem is that Sun C compiler outputs garbage to stdout.  So,
       we redirect output of 'cc -E' to stderr.
     - fix parallel work of target "linkinstall"
     - fix support for gcc-14. Thanks to
       carlosrodrifernandez@gmail.com for patches.
     - avoid double running of tests on Darwin caused by
       case-insensitive file system

  tests:
     - improvements and fixes
     - adapt helpers/mkc_test_nm for Solaris
     - fix examples/RBTREE for Sun C compiler

  Add USE_{CC,CXX,CPP} configuration variables for building
  mk-configure, appropriate variables CC, CXX and CPP will be a part
  of sys.mk.  Run "bmake help" for details.

  Introduce automatically detected configuration variables
  {C,CXX}FLAGS.{md,mmd}

  Introduce variable MKCMAKE which is always 1