diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:40 +0000 |
commit | d4cbff970f898a98be460d13d9c9e442c8df5bc3 (patch) | |
tree | 5019cc9fa7e5722b025306b2200b61a16ca6f308 /configure | |
parent | a23a165258d051b97ba0aab46cc7f2278a9644e3 (diff) | |
download | dalist-d4cbff970f898a98be460d13d9c9e442c8df5bc3.tar.bz2 dalist-d4cbff970f898a98be460d13d9c9e442c8df5bc3.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 |