diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:43 +0000 |
commit | d9136fd139d6febc1b33b8a02bed0f928b747926 (patch) | |
tree | 9db75d0133624b842996c120af052d8991e1567d /configure | |
parent | a155291b8d2bef7682d5ad2f348e7a44a1e9848d (diff) | |
download | mmglue-d9136fd139d6febc1b33b8a02bed0f928b747926.tar.bz2 mmglue-d9136fd139d6febc1b33b8a02bed0f928b747926.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 |