diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:54 +0000 |
commit | 901f7664bb0df1adeb238e1da397545abc342cf8 (patch) | |
tree | 616299472c84f008583d0ffc0c327d7065adce6e /configure | |
parent | 082ade6d3e3af33476a1f5e8334e80c8a8cb80a2 (diff) | |
download | sbpython3-901f7664bb0df1adeb238e1da397545abc342cf8.tar.bz2 sbpython3-901f7664bb0df1adeb238e1da397545abc342cf8.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 |