diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:57 +0000 |
commit | cb7600af3f30411cb57554db0498bc3bc330a403 (patch) | |
tree | 28b07963a76c89dce01a7358841bd1c77d63a59c | |
parent | a2c383058bf148f4b974e2463414b4118e44af25 (diff) | |
download | sofort-cb7600af3f30411cb57554db0498bc3bc330a403.tar.bz2 sofort-cb7600af3f30411cb57554db0498bc3bc330a403.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 |