diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:45 +0000 |
commit | 6dcb4223a6bff0d29390a1c4a5b12d3f31ecc4ad (patch) | |
tree | 203d461face1587dac960c515d22576e095639e1 /configure | |
parent | 2fc5748da19c2c1c9de355dc08d9736506e270f2 (diff) | |
download | ntcon-6dcb4223a6bff0d29390a1c4a5b12d3f31ecc4ad.tar.bz2 ntcon-6dcb4223a6bff0d29390a1c4a5b12d3f31ecc4ad.tar.xz |
build system: configure: automatically detect make mode if not already set.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -611,6 +611,15 @@ common_defaults() if [ -z "$mb_makemode" ]; then mb_makemode='posix' + + printf '%s\n%s\n%s\n\n%s\n\n' \ + 'ifeq (a,b)' \ + 'VAR = val' \ + 'endif' \ + 'all:' \ + | ${mb_make} -s -f - 2>/dev/null \ + && mb_makemode='modern' + fi # shell |