diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:48 +0000 |
commit | da56590b257b4ef272d30dabeef96b41b3b697b2 (patch) | |
tree | b28be3a38d37b3fba4a4cf32cf61db17aff5de6c /configure | |
parent | 18df6ede31fc7e49fc9e803a32c518501db39ee8 (diff) | |
download | pemagine-da56590b257b4ef272d30dabeef96b41b3b697b2.tar.bz2 pemagine-da56590b257b4ef272d30dabeef96b41b3b697b2.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 |