Hello community, here is the log from the commit of package mk-configure for openSUSE:Leap:15.2 checked in at 2020-04-25 19:09:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/mk-configure (Old) and /work/SRC/openSUSE:Leap:15.2/.mk-configure.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mk-configure" Sat Apr 25 19:09:19 2020 rev:12 rq:797271 version:0.34.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/mk-configure/mk-configure.changes 2020-03-21 16:47:12.393650302 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.mk-configure.new.2738/mk-configure.changes 2020-04-25 19:09:19.908143557 +0200 @@ -1,0 +2,38 @@ +Mon Mar 30 12:37:23 UTC 2020 - v...@gmx.net + +- Update to mk-configure-0.34.1 + + Fixes in mk-configure: + * broken builtins prog_* (broken since 0.29.2) + * MKC_REQUIRE_BUILTINS also sets BUILTIN.<builtin> variable + (broken -- always) + * mk/ also installs mkc_imp.foreign_autotools.mk (broken -- always) + * mkc_compiler_settings(1): unexpected loading of ../Makefile.inc + (broken -- 0.34.0) + * mk-configure.7: + * clang also supports WARNERR + * add documentation for MKC_REQUIRE_BUILTINS + * other minor clean-ups and fixes + * mkc_imp.foreign_autotools.mk: do not change .OBJDIR! + + Fixes and improvements in tests/, examples/ and build infrastructure: + * examples/hello_calc2: build failure with gcc-10 (multiple + definition of `calc_lval'). Thanks to Sergei Trofimovich. + * examples/hello_autoconf: out-of-tree build failure + * examples/check_compiler_opts: run "cleandir" at the end of "test" + * examples/hello_require_tools: run "cleandir" at the end of "test" + * examples/subprojects/test.mk: better ignore nroff + warning "cannot adjust line" + * tests/dltest: run "cleandir" at the end of "test" + * tests/mkc_check_custom: run "cleandir" at the end of "test" + * tests/os_OpenBSD: run "cleandir" at the end of "test" + * tests/os_Linux: run "cleandir" at the end of "test" + * tests/require_prototype: run "cleandir" at the end of "test" + * tests/os_NetBSD: run "cleandir" at the end of "test" + * examples/hello_autoconf: use MKC_REQUIRE_BUILTINS + instead of MKC_CHECK_BUILTINS + * main.mk: clean -> clean-examples; cleandir -> cleandir-examples + + Add example/Makefile for running tests after installing mk-configure + +------------------------------------------------------------------- Old: ---- mk-configure-0.34.0.tar.gz New: ---- mk-configure-0.34.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mk-configure.spec ++++++ --- /var/tmp/diff_new_pack.lC4M3x/_old 2020-04-25 19:09:20.412144640 +0200 +++ /var/tmp/diff_new_pack.lC4M3x/_new 2020-04-25 19:09:20.416144649 +0200 @@ -17,7 +17,7 @@ Name: mk-configure -Version: 0.34.0 +Version: 0.34.1 Release: 0 Summary: A build system on top of bmake License: BSD-2-Clause AND MIT AND ISC ++++++ mk-configure-0.34.0.tar.gz -> mk-configure-0.34.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/Makefile.inc new/mk-configure-0.34.1/Makefile.inc --- old/mk-configure-0.34.0/Makefile.inc 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/Makefile.inc 2020-03-30 14:02:50.808885000 +0200 @@ -1,4 +1,4 @@ -VERSION = 0.34.0 +VERSION = 0.34.1 BIRTHDATE = 2009-02-21 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/Makefile new/mk-configure-0.34.1/builtins/Makefile --- old/mk-configure-0.34.0/builtins/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/Makefile 2020-03-30 14:02:50.812391100 +0200 @@ -1,4 +1,6 @@ -SCRIPTS = endianness prog_bison prog_flex prog_gawk prog_gm4 prog_gmake +INSCRIPTS = endianness prog_bison prog_flex prog_gawk prog_gm4 prog_gmake \ + prog_mkdep prog_nbmkdep +SCRIPTS = ${INSCRIPTS} SCRIPTSDIR = ${BUILTINSDIR} FILES = easy.c easy.cc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/endianness new/mk-configure-0.34.1/builtins/endianness --- old/mk-configure-0.34.0/builtins/endianness 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/endianness 1970-01-01 01:00:00.000000000 +0100 @@ -1,62 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2009 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -set -e - -LC_ALL=C -export LC_ALL - -################################################## - -pathpart=endianness -. mkc_check_common.sh - -trap "rm -f $tmpc $tmpo" 0 - -CFLAGS="$CFLAGS -D_GNU_SOURCE -D_ALL_SOURCE" - -check_me (){ - cat > "$tmpc" <<EOF -$3 - -int main (int argc, char **argv) -{ - #if $1 == $2 - return 0; -#else - error -#endif -} -EOF - if $CC -o "$tmpo" -c $CFLAGS $CPPFLAGS "$tmpc" 2>/dev/null; then - return 0 - else - return 1 - fi -} - -if check_me BYTE_ORDER LITTLE_ENDIAN ' -#include <sys/types.h> -#include <sys/param.h> -'; -then - echo little - exit 0 -fi - -if check_me BYTE_ORDER BIG_ENDIAN ' -#include <sys/types.h> -#include <sys/param.h> -'; -then - echo big - exit 0 -fi - -echo unknown -exit 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/endianness.in new/mk-configure-0.34.1/builtins/endianness.in --- old/mk-configure-0.34.0/builtins/endianness.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/endianness.in 2020-03-30 14:02:50.816397200 +0200 @@ -0,0 +1,64 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2009 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +set -e + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +################################################## + +pathpart=endianness +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +trap "rm -f $tmpc $tmpo" 0 + +CFLAGS="$CFLAGS -D_GNU_SOURCE -D_ALL_SOURCE" + +check_me (){ + cat > "$tmpc" <<EOF +$3 + +int main (int argc, char **argv) +{ + #if $1 == $2 + return 0; +#else + error +#endif +} +EOF + if $CC -o "$tmpo" -c $CFLAGS $CPPFLAGS "$tmpc" 2>/dev/null; then + return 0 + else + return 1 + fi +} + +if check_me BYTE_ORDER LITTLE_ENDIAN ' +#include <sys/types.h> +#include <sys/param.h> +'; +then + echo little + exit 0 +fi + +if check_me BYTE_ORDER BIG_ENDIAN ' +#include <sys/types.h> +#include <sys/param.h> +'; +then + echo big + exit 0 +fi + +echo unknown +exit 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_bison new/mk-configure-0.34.1/builtins/prog_bison --- old/mk-configure-0.34.0/builtins/prog_bison 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_bison 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2009 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -LC_ALL=C -export LC_ALL - -pathpart=' ' # fake -. mkc_check_common.sh - -find_n_match bison --version 'bison' - -echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_bison.in new/mk-configure-0.34.1/builtins/prog_bison.in --- old/mk-configure-0.34.0/builtins/prog_bison.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_bison.in 2020-03-30 14:02:50.818397900 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2009 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +pathpart=' ' # fake +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +find_n_match bison --version 'bison' + +echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_flex new/mk-configure-0.34.1/builtins/prog_flex --- old/mk-configure-0.34.0/builtins/prog_flex 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_flex 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2009 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -LC_ALL=C -export LC_ALL - -pathpart=' ' # fake -. mkc_check_common.sh - -find_n_match flex --version 'flex' || -find_n_match lex --version 'flex' || -echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_flex.in new/mk-configure-0.34.1/builtins/prog_flex.in --- old/mk-configure-0.34.0/builtins/prog_flex.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_flex.in 2020-03-30 14:02:50.820399500 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2009 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +pathpart=' ' # fake +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +find_n_match flex --version 'flex' || +find_n_match lex --version 'flex' || +echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_gawk new/mk-configure-0.34.1/builtins/prog_gawk --- old/mk-configure-0.34.0/builtins/prog_gawk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_gawk 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2009 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -LC_ALL=C -export LC_ALL - -pathpart=' ' # fake -. mkc_check_common.sh - -find_n_match gawk --version 'gnu awk' || -find_n_match nawk --version 'gnu awk' || -find_n_match awk --version 'gnu awk' || -echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_gawk.in new/mk-configure-0.34.1/builtins/prog_gawk.in --- old/mk-configure-0.34.0/builtins/prog_gawk.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_gawk.in 2020-03-30 14:02:50.821399900 +0200 @@ -0,0 +1,20 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2009 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +pathpart=' ' # fake +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +find_n_match gawk --version 'gnu awk' || +find_n_match nawk --version 'gnu awk' || +find_n_match awk --version 'gnu awk' || +echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_gm4 new/mk-configure-0.34.1/builtins/prog_gm4 --- old/mk-configure-0.34.0/builtins/prog_gm4 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_gm4 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2009 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -LC_ALL=C -export LC_ALL - -pathpart=' ' # fake -. mkc_check_common.sh - -find_n_match gm4 --version 'gnu m4' || -find_n_match m4 --version 'gnu m4' || -echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_gm4.in new/mk-configure-0.34.1/builtins/prog_gm4.in --- old/mk-configure-0.34.0/builtins/prog_gm4.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_gm4.in 2020-03-30 14:02:50.823414500 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2009 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +pathpart=' ' # fake +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +find_n_match gm4 --version 'gnu m4' || +find_n_match m4 --version 'gnu m4' || +echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_gmake new/mk-configure-0.34.1/builtins/prog_gmake --- old/mk-configure-0.34.0/builtins/prog_gmake 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_gmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2014 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -LC_ALL=C -export LC_ALL - -pathpart=' ' # fake -. mkc_check_common.sh - -find_n_match make '-f /dev/null --version' 'gnu make' || -find_n_match gmake '-f /dev/null --version' 'gnu make' || -echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_gmake.in new/mk-configure-0.34.1/builtins/prog_gmake.in --- old/mk-configure-0.34.0/builtins/prog_gmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_gmake.in 2020-03-30 14:02:50.824402300 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2014 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +pathpart=' ' # fake +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +find_n_match make '-f /dev/null --version' 'gnu make' || +find_n_match gmake '-f /dev/null --version' 'gnu make' || +echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_mkdep new/mk-configure-0.34.1/builtins/prog_mkdep --- old/mk-configure-0.34.0/builtins/prog_mkdep 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_mkdep 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2013 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -LC_ALL=C -export LC_ALL - -extra_args="$*" - -pathpart='custom_nbmkdep' -. mkc_check_common.sh - -trap "rm -f $tmpc $tmpo" 0 - -cat > "$tmpc" <<'EOF' -#include <stdio.h> -EOF - -if test -n "$MKDEP_CC"; then - CC="$MKDEP_CC" - export CC -fi - -check_mkdep (){ - "$1" -f "$tmpo" $extra_args -I . -I `pwd` "$tmpc" -} - -for i in bmkdep nbmkdep mkdep; do - if test -z "`check_mkdep $i 2>&1 > /dev/null`"; then - mkc_which $i - exit 0 - fi -done - -echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_mkdep.in new/mk-configure-0.34.1/builtins/prog_mkdep.in --- old/mk-configure-0.34.0/builtins/prog_mkdep.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_mkdep.in 2020-03-30 14:02:50.826404800 +0200 @@ -0,0 +1,41 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2013 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +LC_ALL=C +export LC_ALL + +: ${CHECK_COMMON_SH_DIR:=@mkc_libexecdir@} + +extra_args="$*" + +pathpart='custom_nbmkdep' +. ${CHECK_COMMON_SH_DIR}/mkc_check_common.sh + +trap "rm -f $tmpc $tmpo" 0 + +cat > "$tmpc" <<'EOF' +#include <stdio.h> +EOF + +if test -n "$MKDEP_CC"; then + CC="$MKDEP_CC" + export CC +fi + +check_mkdep (){ + "$1" -f "$tmpo" $extra_args -I . -I `pwd` "$tmpc" +} + +for i in bmkdep nbmkdep mkdep; do + if test -z "`check_mkdep $i 2>&1 > /dev/null`"; then + mkc_which $i + exit 0 + fi +done + +echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_nbmkdep new/mk-configure-0.34.1/builtins/prog_nbmkdep --- old/mk-configure-0.34.0/builtins/prog_nbmkdep 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_nbmkdep 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -#!/bin/sh - -############################################################ -# Copyright (c) 2013 by Aleksey Cheusov -# -# See LICENSE file in the distribution. -############################################################ - -# workround for crappylaris -if test -z "$CRAPPYLIS" -a -x /usr/xpg4/bin/sh; then - CRAPPYLIS=1 - export CRAPPYLIS - exec /usr/xpg4/bin/sh "$0" "$@" -fi - -${0%%/prog_nbmkdep}/prog_mkdep -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/builtins/prog_nbmkdep.in new/mk-configure-0.34.1/builtins/prog_nbmkdep.in --- old/mk-configure-0.34.0/builtins/prog_nbmkdep.in 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/builtins/prog_nbmkdep.in 2020-03-30 14:02:50.827401700 +0200 @@ -0,0 +1,16 @@ +#!/bin/sh + +############################################################ +# Copyright (c) 2013 by Aleksey Cheusov +# +# See LICENSE file in the distribution. +############################################################ + +# workround for crappylaris +if test -z "$CRAPPYLIS" -a -x /usr/xpg4/bin/sh; then + CRAPPYLIS=1 + export CRAPPYLIS + exec /usr/xpg4/bin/sh "$0" "$@" +fi + +${0%%/prog_nbmkdep}/prog_mkdep -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/doc/NEWS new/mk-configure-0.34.1/doc/NEWS --- old/mk-configure-0.34.0/doc/NEWS 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/doc/NEWS 2020-03-30 14:02:50.833460900 +0200 @@ -1,4 +1,40 @@ ====================================================================== +Version 0.34.1, by Aleksey Cheusov, Mon, 30 Mar 2020 02:35:15 +0300 + + Fixes in mk-configure: + - broken builtins prog_* (broken since 0.29.2) + - MKC_REQUIRE_BUILTINS also sets BUILTIN.<builtin> variable + (broken -- always) + - mk/ also installs mkc_imp.foreign_autotools.mk (broken -- always) + - mkc_compiler_settings(1): unexpected loading of ../Makefile.inc + (broken -- 0.34.0) + - mk-configure.7: + * clang also supports WARNERR + * add documentation for MKC_REQUIRE_BUILTINS + * other minor clean-ups and fixes + - mkc_imp.foreign_autotools.mk: do not change .OBJDIR! + + Fixes and improvements in tests/, examples/ and build infrastructure: + - examples/hello_calc2: build failure with gcc-10 (multiple + definition of `calc_lval'). Thanks to Sergei Trofimovich. + - examples/hello_autoconf: out-of-tree build failure + - examples/check_compiler_opts: run "cleandir" at the end of "test" + - examples/hello_require_tools: run "cleandir" at the end of "test" + - examples/subprojects/test.mk: better ignore nroff + warning "cannot adjust line" + - tests/dltest: run "cleandir" at the end of "test" + - tests/mkc_check_custom: run "cleandir" at the end of "test" + - tests/os_OpenBSD: run "cleandir" at the end of "test" + - tests/os_Linux: run "cleandir" at the end of "test" + - tests/require_prototype: run "cleandir" at the end of "test" + - tests/os_NetBSD: run "cleandir" at the end of "test" + - examples/hello_autoconf: use MKC_REQUIRE_BUILTINS + instead of MKC_CHECK_BUILTINS + - main.mk: clean -> clean-examples; cleandir -> cleandir-examples + + Add example/Makefile for running tests after installing mk-configure + +====================================================================== Version 0.34.0, by Aleksey Cheusov, Wed, 19 Feb 2020 22:46:40 +0300 This release introduces some incompatibilities with older releases: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/doc/TODO new/mk-configure-0.34.1/doc/TODO --- old/mk-configure-0.34.0/doc/TODO 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/doc/TODO 2020-03-30 14:02:50.836403900 +0200 @@ -1,4 +1,17 @@ ============================================================ +MKC_CACHEDIR ?= ${OBJTOP:U${SRCTOP}} + +New rules for .by (bison without -y option) + +============================================================ +============================================================ +============================================================ + +============================================================ +OBJDIR_* and SRCDIR_* variable should be available +after mkc.init.mk and initialized again in mkc.mk + +============================================================ LDFLAGS.check ============================================================ @@ -8,16 +21,10 @@ Improve test tests/reqd_clean_cache ============================================================ -MKC_CHECK_* requires CFLAGS.dflt and therefore {CC,CXX}_TYPE - -============================================================ mkc_compiler_settings: check CC, CXX, USE_* for non-emptyness ============================================================ -libl feature: we require libfl is libl was not found - -============================================================ CFLAGS0 ============================================================ @@ -48,7 +55,6 @@ or from define (if exists). This is issue #7 ============================================================ -Introduce MKC_REQUIRE_BUILTINS in addition to MKC_CHECK_BUILTINS remove hello_ prefix from all examples install target: introduce dependencies for target files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/Makefile new/mk-configure-0.34.1/examples/Makefile --- old/mk-configure-0.34.0/examples/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/examples/Makefile 2020-03-30 14:02:50.839403700 +0200 @@ -0,0 +1,11 @@ +# This Makefile is not used by "bmake test". +# It's purpose is to run tests after installing mk-configure. + +.sinclude "../examples.mk" + +SUBPRJ = ${examples} + +# The following is necessary for target "test" +NOEXPORT_VARNAMES= MKC_CACHEDIR SRCTOP OBJTOP + +.include <mkc.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/Makefile.inc new/mk-configure-0.34.1/examples/Makefile.inc --- old/mk-configure-0.34.0/examples/Makefile.inc 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/Makefile.inc 2020-03-30 14:02:50.840425500 +0200 @@ -5,6 +5,5 @@ MKC_CACHEDIR = ${.CURDIR} BUILTINSDIR = ${SRCDIR_builtins} FEATURESDIR = ${SRCDIR_features} -SHRTOUT = no -.export MKC_CACHEDIR BUILTINSDIR FEATURESDIR SHRTOUT +.export MKC_CACHEDIR BUILTINSDIR FEATURESDIR .endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/check_compiler_opts/test.mk new/mk-configure-0.34.1/examples/check_compiler_opts/test.mk --- old/mk-configure-0.34.0/examples/check_compiler_opts/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/check_compiler_opts/test.mk 2020-03-30 14:02:50.846402800 +0200 @@ -7,6 +7,8 @@ .PHONY : test_output test_output: @echo ========== lalala ==========; \ - ${cmd} + ${cmd}; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_autoconf/Makefile new/mk-configure-0.34.1/examples/hello_autoconf/Makefile --- old/mk-configure-0.34.0/examples/hello_autoconf/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_autoconf/Makefile 2020-03-30 14:02:50.870398500 +0200 @@ -4,7 +4,7 @@ AT_USE_AUTOMAKE = no AT_MAKE = ${BUILTIN.prog_gmake} -MKC_CHECK_BUILTINS = prog_gmake +MKC_REQUIRE_BUILTINS = prog_gmake MKCHECKS = yes # we need path to gmake for target "clean" # The following line is for regression tests. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_autoconf/proj/Makefile.in new/mk-configure-0.34.1/examples/hello_autoconf/proj/Makefile.in --- old/mk-configure-0.34.0/examples/hello_autoconf/proj/Makefile.in 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_autoconf/proj/Makefile.in 2020-03-30 14:02:50.875398800 +0200 @@ -2,6 +2,8 @@ srcdir = @srcdir@ +VPATH = ${srcdir} + CC ?= @CC@ CFLAGS ?= @CFLAGS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_autoconf/test.mk new/mk-configure-0.34.1/examples/hello_autoconf/test.mk --- old/mk-configure-0.34.0/examples/hello_autoconf/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_autoconf/test.mk 2020-03-30 14:02:50.880400700 +0200 @@ -3,17 +3,17 @@ .PHONY : test_output test_output: @ \ - ${.OBJDIR}/hello_autoconf; \ + ${.OBJDIR}/proj/hello_autoconf; \ rm -rf ${.OBJDIR}${PREFIX}; \ \ echo =========== all ============; \ - find ${.OBJDIR} -type f | grep -Ev '${EXCL_RE}' | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ + find ${.OBJDIR}/proj -type f | grep -Ev '${EXCL_RE}' | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj"; \ \ echo ========== clean ===========; \ ${MAKE} ${MAKEFLAGS} clean > /dev/null; \ - find ${.OBJDIR} -type f | grep -vE '${EXCL_RE}' | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ + find ${.OBJDIR}/proj -type f | grep -vE '${EXCL_RE}' | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj"; \ \ echo ========== all SHRTOUT=yes ===========; \ ${MAKE} ${MAKEFLAGS} all SHRTOUT=yes | grep -v 'loading site script' | \ @@ -21,7 +21,7 @@ \ echo ======= cleandir ==========; \ ${MAKE} ${MAKEFLAGS} cleandir > /dev/null; \ - find ${.OBJDIR} -type f | grep -vE '${EXCL_RE}' | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}" + find ${.OBJDIR}/proj -type f | grep -vE '${EXCL_RE}' | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj" .include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_autotools/test.mk new/mk-configure-0.34.1/examples/hello_autotools/test.mk --- old/mk-configure-0.34.0/examples/hello_autotools/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_autotools/test.mk 2020-03-30 14:02:50.891400800 +0200 @@ -3,29 +3,29 @@ .PHONY : test_output test_output: @ \ - ${.OBJDIR}/hello_autotools; \ - rm -rf ${.OBJDIR}${PREFIX}; \ + ${.OBJDIR}/proj/hello_autotools; \ + rm -rf ${.OBJDIR}/proj${PREFIX}; \ \ echo =========== all ============; \ - find ${.OBJDIR} -type f | grep -Ev '${EXCL_RE}' | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ + find ${.OBJDIR}/proj -type f | grep -Ev '${EXCL_RE}' | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj"; \ \ echo ========= install ==========; \ ${MAKE} ${MAKEFLAGS} install -j3 \ - DESTDIR=${.OBJDIR} > /dev/null; \ - find ${.OBJDIR}${PREFIX} -type f -o -type d | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ + DESTDIR=${.OBJDIR}/proj > /dev/null; \ + find ${.OBJDIR}/proj${PREFIX} -type f -o -type d | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj"; \ \ echo ======== uninstall =========; \ ${MAKE} ${MAKEFLAGS} -j4 uninstall \ - DESTDIR=${.OBJDIR} > /dev/null; \ - find ${.OBJDIR}${PREFIX} -type f -o -type d | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ + DESTDIR=${.OBJDIR}/proj > /dev/null; \ + find ${.OBJDIR}/proj${PREFIX} -type f -o -type d | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj"; \ \ echo ========== clean ===========; \ ${MAKE} ${MAKEFLAGS} clean > /dev/null; \ - find ${.OBJDIR} -type f | grep -vE '${EXCL_RE}' | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ + find ${.OBJDIR}/proj -type f | grep -vE '${EXCL_RE}' | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj"; \ \ echo ========== all SHRTOUT=yes ===========; \ ${MAKE} ${MAKEFLAGS} all SHRTOUT=yes | grep -v 'loading site script' | \ @@ -33,7 +33,7 @@ \ echo ======= cleandir ==========; \ ${MAKE} ${MAKEFLAGS} cleandir > /dev/null; \ - find ${.OBJDIR} -type f | grep -vE '${EXCL_RE}' | \ - mkc_test_helper "${PREFIX}" "${.OBJDIR}" + find ${.OBJDIR}/proj -type f | grep -vE '${EXCL_RE}' | \ + mkc_test_helper "${PREFIX}" "${.OBJDIR}/proj" .include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_calc2/lex.l new/mk-configure-0.34.1/examples/hello_calc2/lex.l --- old/mk-configure-0.34.0/examples/hello_calc2/lex.l 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_calc2/lex.l 2020-03-30 14:02:50.896397400 +0200 @@ -20,5 +20,3 @@ \n|[-+\/*^()] { return yytext[0]; } %% - -YYSTYPE calc_lval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_dictd/expect.out new/mk-configure-0.34.1/examples/hello_dictd/expect.out --- old/mk-configure-0.34.0/examples/hello_dictd/expect.out 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_dictd/expect.out 2020-03-30 14:02:50.977403800 +0200 @@ -104,24 +104,24 @@ /objdir/libmaa/set.os /objdir/test.mk ========= INTERNALLIBS ========== -installdirs ===> examples/hello_dictd/libmaa -installdirs ===> examples/hello_dictd/dict -installdirs ===> examples/hello_dictd/dictd -installdirs ===> examples/hello_dictd/libdz -installdirs ===> examples/hello_dictd/dictzip -installdirs ===> examples/hello_dictd/dictfmt -install ===> examples/hello_dictd/libmaa -install ===> examples/hello_dictd/dict -install ===> examples/hello_dictd/dictd -install ===> examples/hello_dictd/libdz -install ===> examples/hello_dictd/dictzip -install ===> examples/hello_dictd/dictfmt -uninstall ===> examples/hello_dictd/libmaa -uninstall ===> examples/hello_dictd/dict -uninstall ===> examples/hello_dictd/dictd -uninstall ===> examples/hello_dictd/libdz -uninstall ===> examples/hello_dictd/dictzip -uninstall ===> examples/hello_dictd/dictfmt +installdirs ===> libmaa +installdirs ===> dict +installdirs ===> dictd +installdirs ===> libdz +installdirs ===> dictzip +installdirs ===> dictfmt +install ===> libmaa +install ===> dict +install ===> dictd +install ===> libdz +install ===> dictzip +install ===> dictfmt +uninstall ===> libmaa +uninstall ===> dict +uninstall ===> dictd +uninstall ===> libdz +uninstall ===> dictzip +uninstall ===> dictfmt ========= installdirs ========== /objdir/prefix /objdir/prefix/bin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_dictd/test.mk new/mk-configure-0.34.1/examples/hello_dictd/test.mk --- old/mk-configure-0.34.0/examples/hello_dictd/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_dictd/test.mk 2020-03-30 14:02:50.989399700 +0200 @@ -36,7 +36,9 @@ echo ========= INTERNALLIBS ==========; \ { ${MAKE} ${MAKEFLAGS} installdirs DESTDIR=${.OBJDIR}; \ ${MAKE} ${MAKEFLAGS} install DESTDIR=${.OBJDIR}; \ - ${MAKE} ${MAKEFLAGS} uninstall DESTDIR=${.OBJDIR}; } 2>&1 | awk '/^(un)?install/'; \ + ${MAKE} ${MAKEFLAGS} uninstall DESTDIR=${.OBJDIR}; \ + } 2>&1 | \ + awk '/^(un)?install/ {sub(/examples\//, ""); sub(/hello_dictd\//, ""); print $0}'; \ rm -rf ${.OBJDIR}/`echo ${PREFIX} | cut -d/ -f2`; \ echo ========= installdirs ==========; \ ${MAKE} ${MAKEFLAGS} installdirs DESTDIR=${.OBJDIR} > /dev/null; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/hello_require_tools/Makefile new/mk-configure-0.34.1/examples/hello_require_tools/Makefile --- old/mk-configure-0.34.0/examples/hello_require_tools/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/hello_require_tools/Makefile 2020-03-30 14:02:51.122398100 +0200 @@ -3,10 +3,12 @@ SCRIPTS = fake test: errorcheck - @echo GNU awk: ${CUSTOM.prog_gawk} - @echo GNU m4: ${CUSTOM.prog_gm4} - @echo GNU make: ${CUSTOM.prog_gmake} - @echo flex: ${CUSTOM.prog_flex} - @echo bison: ${CUSTOM.prog_bison} + @echo GNU awk: ${CUSTOM.prog_gawk}; \ + echo GNU m4: ${CUSTOM.prog_gm4}; \ + echo GNU make: ${CUSTOM.prog_gmake}; \ + echo flex: ${CUSTOM.prog_flex}; \ + echo bison: ${CUSTOM.prog_bison}; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .include <mkc.prog.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples/subprojects/test.mk new/mk-configure-0.34.1/examples/subprojects/test.mk --- old/mk-configure-0.34.0/examples/subprojects/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/examples/subprojects/test.mk 2020-03-30 14:02:51.245404200 +0200 @@ -22,7 +22,7 @@ echo ===== all SHRTOUT=yes ======; \ ${MAKE} ${MAKEFLAGS} clean > /dev/null; \ ${MAKE} ${MAKEFLAGS} all SHRTOUT=YES 2>&1 | \ - grep -v warning: | \ + grep -v warning | \ mkc_test_helper_paths; \ \ echo ========= installdirs ==========; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/examples.mk new/mk-configure-0.34.1/examples.mk --- old/mk-configure-0.34.0/examples.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/examples.mk 2020-03-30 14:02:50.837400000 +0200 @@ -0,0 +1,9 @@ +examples = hello_world hello_scripts hello_files hello_sizeof hello_lex \ + hello_yacc hello_calc2 subprojects hello_compilers hello_plugins \ + hello_plugins2 hello_glib2 hello_subdirs hello_strlcpy hello_strlcpy2 \ + hello_strlcpy3 hello_customtests hello_customtests2 hello_requirements \ + hello_iconv hello_cxx hello_cxxlib hello_dictd hello_lua hello_lua2 \ + hello_lua3 hello_superfs hello_xxzip hello_progs hello_progs2 tools \ + tools2 pkgconfig3 hello_SLIST hello_RBTREE hello_errwarn hello_fgetln \ + hello_autotools hello_autoconf hello_libdeps hello_compatlib \ + hello_require_tools check_compiler_opts help_target # fts (fts.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/help.mk new/mk-configure-0.34.1/help.mk --- old/mk-configure-0.34.0/help.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/help.mk 2020-03-30 14:02:51.355922000 +0200 @@ -0,0 +1,9 @@ +HELP_MSG.builtins = "Builtins prog_gm4, prog_gmake etc..." +HELP_MSG.doc = "README.md, INSTALL, NEWS etc..." +HELP_MSG.examples/helpers = "Helper scripts for regression tests, not a part of mk-configure distribution" +HELP_MSG.features = "Features strlcpy, fgetln, getdelim etc..." +HELP_MSG.mk = ".mk files" +HELP_MSG.scripts = "mkc_* scripts" +HELP_MSG.examples = "samples of use for mk-configure and tests" +HELP_MSG.tests = "tests for mk-configure" +HELP_MSG.presentation = "Very old but still helpful presentation in PDF format" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/main.mk new/mk-configure-0.34.1/main.mk --- old/mk-configure-0.34.0/main.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/main.mk 2020-03-30 14:02:51.356922000 +0200 @@ -1,83 +1,21 @@ # Copyright (c) 2014-2019 by Aleksey Cheusov # # See LICENSE file in the distribution. -############################################################ - -.sinclude "cheusov_local_settings.mk" # for debugging - ################################################## -USE_VARIABLES += USE_AWK -USE_AWK.descr = "AWK interpreter" -USE_AWK.0 = 'unset or "auto": path to AWK interpreter is detected automatically' -USE_AWK.1 = "path: the specified path to AWK interpreter is used" - -USE_VARIABLES += USE_ID -USE_ID.descr = "POSIX-compatible id(1)" -USE_ID.0 = 'unset or "auto": path to id(1) is detected automatically' -USE_ID.1 = "path: the specified path to id(1) is used" - -USE_VARIABLES += USE_INSTALL -USE_INSTALL.descr = "install(1) utility" -USE_INSTALL.0 = 'unset or "auto": path to install(1) is detected automatically' -USE_INSTALL.1 = '"mkc_install": use local mkc_install utility' -USE_INSTALL.2 = "path: the specified path to install(1) is used" - -USE_VARIABLES += USE_NM -USE_NM.descr = "List symbols from object files" -USE_NM.0 = 'unset or "auto": path to nm(1) is detected automatically' -USE_NM.1 = "path: the specified path to nm(1) is used" - -USE_VARIABLES += USE_SH -USE_SH.descr = "Shell interpreter" -USE_SH.0 = 'unset or "auto": path to shell interpreter is detected automatically' -USE_SH.1 = "path: the specified path to shell interpreter is used" - -USE_VARIABLES += USE_CC_COMPILERS -USE_CC_COMPILERS.descr = "A list of C compilers for which initial settings are generated" -USE_CC_COMPILERS.0 = "unset: initial settings are generated for default C compiler" -USE_CC_COMPILERS.1 = "list: example -- gcc-4.8 gcc-6 clang" - -USE_VARIABLES += USE_CXX_COMPILERS -USE_CXX_COMPILERS.descr = "A list of C++ compilers for which initial settings are generated" -USE_CXX_COMPILERS.0 = "unset: initial settings are generated for default C++ compiler" -USE_CXX_COMPILERS.1 = "list: example -- g++-4.8 g++-6 clang++" - -HELP_MSG.builtins = "Builtins prog_gm4, prog_gmake etc..." -HELP_MSG.doc = "README.md, INSTALL, NEWS etc..." -HELP_MSG.examples/helpers = "Helper scripts for regression tests, not a part of mk-configure distribution" -HELP_MSG.features = "Features strlcpy, fgetln, getdelim etc..." -HELP_MSG.mk = ".mk files" -HELP_MSG.scripts = "mkc_* scripts" -HELP_MSG.examples = "samples of use for mk-configure and tests" -HELP_MSG.tests = "tests for mk-configure" -HELP_MSG.presentation = "Very old but still helpful presentation in PDF format" +.include "help.mk" +.include "use.mk" ################################################## SUBPRJ_DFLT = builtins examples/helpers mk scripts features doc SUBPRJ = scripts:examples scripts:presentation ${SUBPRJ_DFLT} \ scripts:builtins scripts:examples/helpers scripts:mk scripts:features scripts:doc -tests = configure_test mkinstall mkshlib mkstaticlib mkpiclib \ - mkprofilelib mkdll pkg_config_0 pkg_config_1 pkg_config_1_1 pkg_config_2 \ - lua_dirs rec_makefiles reqd reqd2 reqd3 reqd4 reqd_clean_cache \ - intexts_cleantrg require_prototype test_subprj_dash test_mkc_vs_PROG \ - test_mkc_vs_LIB test_mkc_vs_SUBDIR test_mkc_vs_SUBPRJ endianness \ - create_cachedir sys_queue predopost_targets FSRCDIR mkc_features \ - os_NetBSD os_OpenBSD os_Linux dltest mkc_install mkc_check_custom \ - cccxx_type +.include "tests.mk" .for t in ${tests} SUBPRJ += tests/${t}:tests .endfor -examples = hello_world hello_scripts hello_files hello_sizeof hello_lex \ - hello_yacc hello_calc2 subprojects hello_compilers hello_plugins \ - hello_plugins2 hello_glib2 hello_subdirs hello_strlcpy hello_strlcpy2 \ - hello_strlcpy3 hello_customtests hello_customtests2 hello_requirements \ - hello_iconv hello_cxx hello_cxxlib hello_dictd hello_lua hello_lua2 \ - hello_lua3 hello_superfs hello_xxzip hello_progs hello_progs2 tools \ - tools2 pkgconfig3 hello_SLIST hello_RBTREE hello_errwarn hello_fgetln \ - hello_autotools hello_autoconf hello_libdeps hello_compatlib \ - hello_require_tools check_compiler_opts help_target # fts (fts.h) +.include "examples.mk" .for t in ${examples} SUBPRJ += examples/${t}:examples .endfor @@ -85,14 +23,12 @@ NODEPS += install-examples/helpers:install ################################################## -SHRTOUT = yes +# The following is necessary for target "test-examples" +NOEXPORT_VARNAMES = MKC_CACHEDIR SRCTOP OBJDIR # -NOEXPORT_VARNAMES = MKC_CACHEDIR - -PATH := ${OBJDIR_builtins}:${OBJDIR_examples_helpers}:${.CURDIR}/examples/helpers:${OBJDIR_scripts}:${.CURDIR}/scripts:${PATH} - -.export SHRTOUT INSTALL PATH +PATH := ${.CURDIR}/examples/helpers:${.CURDIR}/scripts:${PATH} +.export INSTALL PATH ################################################## .PHONY: pdf @@ -100,11 +36,11 @@ pdf: @set -e; cd presentation; \ ${MAKE} ${MAKEFLAGS} clean-garbage; \ - rm -f myprojects.* + rm -f myprojects.* _mkc_* ################################################## -cleandir: cleandir-tests cleandir-presentation -clean: clean-tests clean-presentation +cleandir: cleandir-tests cleandir-examples cleandir-presentation +clean: clean-tests clean-examples clean-presentation test: test-tests test-examples diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/Makefile new/mk-configure-0.34.1/mk/Makefile --- old/mk-configure-0.34.0/mk/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/Makefile 2020-03-30 14:02:51.358922300 +0200 @@ -10,7 +10,7 @@ mkc.prog.mk mkc.files.mk mkc.lib.mk mkc.subdir.mk mkc.subprj.mk \ mkc_imp.objdir.mk mkc_imp.obj.mk mkc_imp.help.mk \ mkc_imp.compiler_settings.mk mkc.compiler_settings.mk \ - mkc_imp.compiler_type.mk ${INFILES} + mkc_imp.compiler_type.mk mkc_imp.foreign_autotools.mk ${INFILES} FILESDIR = ${MKFILESDIR} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/mkc.conf.mk new/mk-configure-0.34.1/mk/mkc.conf.mk --- old/mk-configure-0.34.0/mk/mkc.conf.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/mkc.conf.mk 2020-03-30 14:02:51.360922700 +0200 @@ -322,7 +322,7 @@ .endif .endfor -.for c in ${MKC_CHECK_BUILTINS} +.for c in ${MKC_CHECK_BUILTINS} ${MKC_REQUIRE_BUILTINS} BUILTIN.${c} = ${CUSTOM.${c}} .endfor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/mkc.init.mk new/mk-configure-0.34.1/mk/mkc.init.mk --- old/mk-configure-0.34.0/mk/mkc.init.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/mkc.init.mk 2020-03-30 14:02:51.364925700 +0200 @@ -54,14 +54,6 @@ MKC_CACHEDIR ?= ${.OBJDIR} # directory for cache and intermediate files -init_make_level ?= 0 # for mkc.conf.mk - -.if ${.MAKE.LEVEL} == ${init_make_level} -SRCTOP ?= ${.CURDIR} -OBJTOP ?= ${.OBJDIR} -.export SRCTOP OBJTOP -.endif - ########### PROJECTNAME ?= ${!empty(PROG):?${PROG}:${!empty(LIB):?${LIB}:${.CURDIR:T}}} @@ -260,7 +252,7 @@ .include "${SRCTOP}/Makefile.common" .endif -.if ${SRCTOP:U} != ${.CURDIR} && exists(${.CURDIR}/../Makefile.inc) +.if ${.MAKE.LEVEL} != ${init_make_level} && exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/mkc.mk new/mk-configure-0.34.1/mk/mkc.mk --- old/mk-configure-0.34.0/mk/mkc.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/mkc.mk 2020-03-30 14:02:51.368922600 +0200 @@ -6,11 +6,10 @@ .ifndef _MKC_MK _MKC_MK := 1 -init_make_level ?= 0 +.include <mkc_imp.preinit.mk> .if defined(SRCTOP) && ${SRCTOP:U} != ${.CURDIR} && ${.MAKE.LEVEL} == ${init_make_level} MKC_CACHEDIR ?= ${SRCTOP} -.export MKC_CACHEDIR .MAIN: all .DEFAULT: @set -e; cd ${SRCTOP}; ${MAKE} ${MAKEFLAGS} ${.TARGET}-${.CURDIR:S,${SRCTOP}/,,} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/mkc_imp.foreign_autotools.mk new/mk-configure-0.34.1/mk/mkc_imp.foreign_autotools.mk --- old/mk-configure-0.34.0/mk/mkc_imp.foreign_autotools.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/mkc_imp.foreign_autotools.mk 2020-03-30 14:02:51.383922700 +0200 @@ -23,10 +23,11 @@ _FSRCDIR = ${FSRCDIR} .endif -.if ${.OBJDIR} == ${.CURDIR} -.OBJDIR = ${_FSRCDIR} -.endif +.if defined(MAKEOBJDIR) || defined(MAKEOBJDIRPREFIX) _FOBJDIR = ${.OBJDIR} +.else +_FOBJDIR = ${_FSRCDIR} +.endif _CONFIGURE_ARGS = --prefix ${PREFIX:Q} --bindir=${BINDIR:Q} \ --sbindir=${SBINDIR:Q} --libexecdir=${LIBEXECDIR} \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/mkc_imp.preinit.mk new/mk-configure-0.34.1/mk/mkc_imp.preinit.mk --- old/mk-configure-0.34.0/mk/mkc_imp.preinit.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/mkc_imp.preinit.mk 2020-03-30 14:02:51.399927300 +0200 @@ -39,4 +39,10 @@ .sinclude <newsys.mk.in> # .sinclude for bootstrapping .endif +init_make_level ?= 0 +.if ${.MAKE.LEVEL} == ${init_make_level} +SRCTOP ?= ${.CURDIR} +OBJTOP ?= ${.OBJDIR} +.endif + .endif # _MKC_IMP.PREINIT.MK diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/mk/mkc_imp.subprj.mk new/mk-configure-0.34.1/mk/mkc_imp.subprj.mk --- old/mk-configure-0.34.0/mk/mkc_imp.subprj.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/mk/mkc_imp.subprj.mk 2020-03-30 14:02:51.403924600 +0200 @@ -10,7 +10,7 @@ .if !defined(_MKC_IMP_SUBPRJ_MK) _MKC_IMP_SUBPRJ_MK := 1 -EXPORT_VARNAMES += STATICLIBS COMPATLIB +EXPORT_VARNAMES += STATICLIBS COMPATLIB SRCTOP OBJTOP .for dir in ${SUBPRJ:S/:/ /g} .if empty(NOSUBDIR:U:M${dir}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/presentation/_mkc_prog_dot.res new/mk-configure-0.34.1/presentation/_mkc_prog_dot.res --- old/mk-configure-0.34.0/presentation/_mkc_prog_dot.res 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/presentation/_mkc_prog_dot.res 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -/usr/bin/dot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/presentation/_mkc_prog_dvips.res new/mk-configure-0.34.1/presentation/_mkc_prog_dvips.res --- old/mk-configure-0.34.0/presentation/_mkc_prog_dvips.res 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/presentation/_mkc_prog_dvips.res 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -/usr/bin/dvips diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/presentation/_mkc_prog_latex.res new/mk-configure-0.34.1/presentation/_mkc_prog_latex.res --- old/mk-configure-0.34.0/presentation/_mkc_prog_latex.res 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/presentation/_mkc_prog_latex.res 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -/usr/bin/latex diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/presentation/_mkc_prog_ps2pdf.res new/mk-configure-0.34.1/presentation/_mkc_prog_ps2pdf.res --- old/mk-configure-0.34.0/presentation/_mkc_prog_ps2pdf.res 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/presentation/_mkc_prog_ps2pdf.res 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -/usr/bin/ps2pdf Binary files old/mk-configure-0.34.0/presentation/presentation.pdf and new/mk-configure-0.34.1/presentation/presentation.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/scripts/mk-configure.7.in new/mk-configure-0.34.1/scripts/mk-configure.7.in --- old/mk-configure-0.34.0/scripts/mk-configure.7.in 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/scripts/mk-configure.7.in 2020-03-30 14:02:51.413928100 +0200 @@ -18,7 +18,7 @@ .sp .. .\" ------------------------------------------------------------------ -.TH MK-CONFIGURE 7 "Feb 1, 2020" "" "" +.TH MK-CONFIGURE 7 "Mar 25, 2020" "" "" .SH NAME mk-configure \- lightweight replacement for GNU autotools .SH DESCRIPTION @@ -377,7 +377,7 @@ If defined, add "-p ${YPREFIX}" to YFLAGS. .IP WARNERR If "yes", force warnings to be reported as errors. -At the moment this is supported for GCC, Intel C/C++ and Sun's C/C++ compilers. +At the moment this is supported for GCC, clang, Intel C/C++ and Sun's C/C++ compilers. .RI < "Iu" > .RI [ yes " if WARNS=4, " no " otherwise ]" .IP WARNS @@ -1055,7 +1055,7 @@ .IP EXPORT_VARNAMES List of variables to export before running make for subdirectories. .RI < "Mu" > -.RI [ MKC_CACHEDIR ] +.RI [ MKC_CACHEDIR SRCTOP OBJTOP STATICLIBS COMPATLIB ] .IP NOEXPORT_VARNAMES List of variables excluded from EXPORT_VARNAMES. .RI < "Mu" > @@ -1268,7 +1268,7 @@ The same as MKC_CHECK_FUNCLIBS, but absense of funclib is treated as a fatal error (See .B configure -target. +target). .IP MKC_SOURCE_FUNCLIBS The same as MKC_CHECK_FUNCLIBS, but if <function> is absent both in the specified <library> and in libc, function.c is @@ -1316,7 +1316,7 @@ The same as MKC_CHECK_DEFINES, but absense of the define is treated as a fatal error (See .B configure -target. +target). .IP MKC_CHECK_TYPES List of type:header to check. <header> part is optional. @@ -1342,7 +1342,7 @@ The same as MKC_CHECK_TYPES, but absense of the type declaration is treated as a fatal error (See .B configure -target. +target). .IP MKC_CHECK_VARS List of variable:header to check. <header> part is optional. @@ -1367,7 +1367,7 @@ The same as MKC_CHECK_VARS, but absense of the variable declaration is treated as a fatal error (See .B configure -target. +target). .IP MKC_CHECK_MEMBERS List of <type>.<member>:<header> to check. <header> part is optional. @@ -1402,7 +1402,7 @@ The same as MKC_CHECK_MEMBERS, but absense of the member is treated as a fatal error (See .B configure -target. +target). .IP MKC_CHECK_FUNCS<N> List of <func>:<header> to check. <header> part is optional. Here <N> means the number of arguments. @@ -1436,7 +1436,7 @@ The same as MKC_CHECK_FUNCS<N>, but absense of the function declaration is treated as a fatal error (See .B configure -target. +target). .IP MKC_CHECK_CUSTOM A list of custom checks (list of names). MKC_CUSTOM_FN.<custom_check_name> is a @@ -1474,7 +1474,7 @@ The same as MKC_CHECK_CUSTOM, but failure is treated as a fatal error (See .B configure -target. 0 and empty value of CUSTOM.xxx means failure. +target). 0 and empty value of CUSTOM.xxx means failure. .IP MKC_CUSTOM_DIR Directory with custom checks source files. See MKC_CHECK_CUSTOM. It defaults to ${.CURDIR}. @@ -1515,6 +1515,11 @@ .IR little ", " big " or " unknown depending on a hardware. .RE +.IP MKC_REQUIRE_BUILTINS +The same as MKC_CHECK_BUILTINS, but failure is +treated as a fatal error (See +.B configure +target). .IP MKC_CHECK_PROGS List of <progname>s to check. As a result of the check bmake's variable @@ -1596,7 +1601,7 @@ The same as MKC_CHECK_PROTOTYPES, but incorrect prototype is treated as a fatal error (See .B configure -target. +target). .IP MKC_CHECK_CC_OPTS A list of C compiler options to check. If ${CC} -c support the specified option, variable @@ -2056,7 +2061,7 @@ The same as MKC_REQUIRE_PKGCONFIG, but absense of library is treated as a fatal error (See .B configure -target. +target). .IP PKG_CONFIG.exists.<lib> If "1", <lib> exists, "0" otherwise. Inside <lib> <=, >=, =, < and > and replaced with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests/dltest/test.mk new/mk-configure-0.34.1/tests/dltest/test.mk --- old/mk-configure-0.34.0/tests/dltest/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/tests/dltest/test.mk 2020-03-30 14:02:51.508924800 +0200 @@ -1,6 +1,8 @@ .PHONY : test_output test_output: @set -e; \ - for l in ${LDADD}; do echo $$l; done | awk '/-ldl/ {++cnt} END {print (cnt <= 1)}' + for l in ${LDADD}; do echo $$l; done | awk '/-ldl/ {++cnt} END {print (cnt <= 1)}'; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests/mkc_check_custom/test.mk new/mk-configure-0.34.1/tests/mkc_check_custom/test.mk --- old/mk-configure-0.34.0/tests/mkc_check_custom/test.mk 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/tests/mkc_check_custom/test.mk 2020-03-30 14:02:51.524928200 +0200 @@ -41,6 +41,8 @@ mkc_check_custom -lbd -t check4 ${SRCDIR_configure_test}/custom/my_check4.c 2>&1; \ mkc_check_custom -t custom_check4 -m 'trying to build my_check4 application' -lb ${SRCDIR_configure_test}/custom/my_check4.c 2>&1; \ ls -1 _mkc_* | sort; \ - echo ======================================= + echo =======================================; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests/os_Linux/Makefile new/mk-configure-0.34.1/tests/os_Linux/Makefile --- old/mk-configure-0.34.0/tests/os_Linux/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/tests/os_Linux/Makefile 2020-03-30 14:02:51.563924900 +0200 @@ -10,7 +10,9 @@ .else .PHONY: test test: - @echo ' skipped' + @echo ' skipped'; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .endif .include <mkc.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests/os_NetBSD/Makefile new/mk-configure-0.34.1/tests/os_NetBSD/Makefile --- old/mk-configure-0.34.0/tests/os_NetBSD/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/tests/os_NetBSD/Makefile 2020-03-30 14:02:51.570938700 +0200 @@ -22,7 +22,9 @@ .else .PHONY: test test: - @echo ' skipped' + @echo ' skipped'; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .endif .include <mkc.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests/os_OpenBSD/Makefile new/mk-configure-0.34.1/tests/os_OpenBSD/Makefile --- old/mk-configure-0.34.0/tests/os_OpenBSD/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/tests/os_OpenBSD/Makefile 2020-03-30 14:02:51.580939800 +0200 @@ -15,7 +15,9 @@ .else .PHONY: test test: - @echo ' skipped' + @echo ' skipped'; \ + : =========== cleandir ============; \ + ${MAKE} ${MAKEFLAGS} cleandir > /dev/null .endif .include <mkc.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests/require_prototype/Makefile new/mk-configure-0.34.1/tests/require_prototype/Makefile --- old/mk-configure-0.34.0/tests/require_prototype/Makefile 2020-02-19 22:53:35.000000000 +0100 +++ new/mk-configure-0.34.1/tests/require_prototype/Makefile 2020-03-30 14:02:51.643498200 +0200 @@ -8,6 +8,7 @@ { \ ${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/test.mk cleandir >/dev/null 2>&1; \ ${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/test.mk all 2>&1; \ + ${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/test.mk cleandir >/dev/null 2>&1; \ } | mkc_test_helper2 > $$tmp_out; \ diff ${.CURDIR}/expect.out $$tmp_out && \ echo ' succeeded' 1>&2 || \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/tests.mk new/mk-configure-0.34.1/tests.mk --- old/mk-configure-0.34.0/tests.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/tests.mk 2020-03-30 14:02:51.453926000 +0200 @@ -0,0 +1,8 @@ +tests = configure_test mkinstall mkshlib mkstaticlib mkpiclib \ + mkprofilelib mkdll pkg_config_0 pkg_config_1 pkg_config_1_1 pkg_config_2 \ + lua_dirs rec_makefiles reqd reqd2 reqd3 reqd4 reqd_clean_cache \ + intexts_cleantrg require_prototype test_subprj_dash test_mkc_vs_PROG \ + test_mkc_vs_LIB test_mkc_vs_SUBDIR test_mkc_vs_SUBPRJ endianness \ + create_cachedir sys_queue predopost_targets FSRCDIR mkc_features \ + os_NetBSD os_OpenBSD os_Linux dltest mkc_install mkc_check_custom \ + cccxx_type diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.34.0/use.mk new/mk-configure-0.34.1/use.mk --- old/mk-configure-0.34.0/use.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.34.1/use.mk 2020-03-30 14:02:51.667501000 +0200 @@ -0,0 +1,35 @@ +USE_VARIABLES += USE_AWK +USE_AWK.descr = "AWK interpreter" +USE_AWK.0 = 'unset or "auto": path to AWK interpreter is detected automatically' +USE_AWK.1 = "path: the specified path to AWK interpreter is used" + +USE_VARIABLES += USE_ID +USE_ID.descr = "POSIX-compatible id(1)" +USE_ID.0 = 'unset or "auto": path to id(1) is detected automatically' +USE_ID.1 = "path: the specified path to id(1) is used" + +USE_VARIABLES += USE_INSTALL +USE_INSTALL.descr = "install(1) utility" +USE_INSTALL.0 = 'unset or "auto": path to install(1) is detected automatically' +USE_INSTALL.1 = '"mkc_install": use local mkc_install utility' +USE_INSTALL.2 = "path: the specified path to install(1) is used" + +USE_VARIABLES += USE_NM +USE_NM.descr = "List symbols from object files" +USE_NM.0 = 'unset or "auto": path to nm(1) is detected automatically' +USE_NM.1 = "path: the specified path to nm(1) is used" + +USE_VARIABLES += USE_SH +USE_SH.descr = "Shell interpreter" +USE_SH.0 = 'unset or "auto": path to shell interpreter is detected automatically' +USE_SH.1 = "path: the specified path to shell interpreter is used" + +USE_VARIABLES += USE_CC_COMPILERS +USE_CC_COMPILERS.descr = "A list of C compilers for which initial settings are generated" +USE_CC_COMPILERS.0 = "unset: initial settings are generated for default C compiler" +USE_CC_COMPILERS.1 = "list: example -- gcc-4.8 gcc-6 clang" + +USE_VARIABLES += USE_CXX_COMPILERS +USE_CXX_COMPILERS.descr = "A list of C++ compilers for which initial settings are generated" +USE_CXX_COMPILERS.0 = "unset: initial settings are generated for default C++ compiler" +USE_CXX_COMPILERS.1 = "list: example -- g++-4.8 g++-6 clang++"