diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:36 +0000 |
commit | 80251acb64d54477dc93e6e0a0cfd359844c32ef (patch) | |
tree | d35548407b7cf7fa87ad79500f48f7454cbb4f12 /configure | |
parent | 2814c01210e7d9c3c353adb8d9c2cf3b012528a8 (diff) | |
download | bcparser-80251acb64d54477dc93e6e0a0cfd359844c32ef.tar.bz2 bcparser-80251acb64d54477dc93e6e0a0cfd359844c32ef.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 |