summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 14:17:30 +0000
committermidipix <writeonce@midipix.org>2021-04-24 14:18:30 +0000
commit5c26170dbbe998a473fb12b7b33603ae14438b12 (patch)
tree395d90b7ab533c94e50d4bab6631130bcb96d576
parent67ad73303a7af09447eaa4c8066efff7a0146422 (diff)
downloadtpax-5c26170dbbe998a473fb12b7b33603ae14438b12.tar.bz2
tpax-5c26170dbbe998a473fb12b7b33603ae14438b12.tar.xz
build system: configure: respect project-specific make{mode} preferences.
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index a100d6d..8ec7015 100755
--- a/configure
+++ b/configure
@@ -169,6 +169,15 @@ init_vars()
. "$mb_config"
+ # config.project make preferences
+ if [ -z "${MAKE}" ]; then
+ MAKE="$mb_make"
+ fi
+
+ if [ -z "${MAKEMODE}" ]; then
+ MAKEMODE="$mb_makemode"
+ fi
+
# package
if [ -z "$mb_package" ]; then
error_msg "$mb_script: incomplete information in $mb_config."