diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 16:15:25 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 16:17:17 +0000 |
commit | 0df1489d275c76477e0ec815a539d05759e94e72 (patch) | |
tree | da7f86fa1a6f8c068ada039422a0d0464af08e61 | |
parent | b4b46d1e742acdf4ddf5ac4d1c2d7a521bab0f96 (diff) | |
download | slibtool-0df1489d275c76477e0ec815a539d05759e94e72.tar.bz2 slibtool-0df1489d275c76477e0ec815a539d05759e94e72.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 |