diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:55:01 +0000 |
commit | 3557e55bbc864c3479b22b927f68133677c6d700 (patch) | |
tree | 228165b3e3bfd6f33a539d6cae723f7d01e81b2e | |
parent | 4c1c10c4b6da299aa1e5f89887b8110bd439f949 (diff) | |
download | u16ports-3557e55bbc864c3479b22b927f68133677c6d700.tar.bz2 u16ports-3557e55bbc864c3479b22b927f68133677c6d700.tar.xz |
build system: configure: automatically detect make mode if not already set.
-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 |