diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:50 +0000 |
commit | a5bdb0b4d1d712c1933a9e6e772b6facc497977a (patch) | |
tree | cfd8ca06027875be2db6b3681410c8c84fb44f3d | |
parent | 6886a72f24cd48a718982303e65b7e9b5518b62a (diff) | |
download | ptycon-a5bdb0b4d1d712c1933a9e6e772b6facc497977a.tar.bz2 ptycon-a5bdb0b4d1d712c1933a9e6e772b6facc497977a.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 |