diff options
author | midipix <writeonce@midipix.org> | 2021-04-09 09:30:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:35 +0000 |
commit | 0fc8a8b4ed89fb69cee316ad64affb33c7902c83 (patch) | |
tree | 50b82ef1d5bd052bb10526130c9d54ba5a444e1d /configure | |
parent | e053f11e7b5db58651fae3dab98fd2ff6f0f8ed3 (diff) | |
download | bcparser-0fc8a8b4ed89fb69cee316ad64affb33c7902c83.tar.bz2 bcparser-0fc8a8b4ed89fb69cee316ad64affb33c7902c83.tar.xz |
build system: configure: added --make and MAKE support.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -211,6 +211,8 @@ init_vars() mb_pdfdir=$PDFDIR mb_psdir=$PSDIR + # make + mb_make=$MAKE # build mb_build=$BUILD @@ -600,6 +602,11 @@ common_defaults() fi fi + # make + if [ -z "$mb_make" ]; then + mb_make='make' + fi + # shell if [ -z "$mb_shell" ]; then mb_shell='/bin/sh' @@ -732,7 +739,7 @@ config_host() { output_step_prolog ${mb_script} 'config_host' - make -s host.tag \ + ${mb_make} -s host.tag \ && output_step_epilog \ && return 0 @@ -887,6 +894,10 @@ for arg ; do mb_psdir=${arg#*=} ;; + #make + --make=*) + mb_make=${arg#*=} + ;; # build --build=*) |