summaryrefslogtreecommitdiff
path: root/configure
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:29 +0000
commiteb2d8546bceb413a8aa2ea1e939e7939363dd998 (patch)
treeae1489801f30002a8de57f22c69447d2452d3646 /configure
parent6f31bd8c7b8c64247ca79c6f79ec8ec4bc8365f3 (diff)
downloadsbpython3-eb2d8546bceb413a8aa2ea1e939e7939363dd998.tar.bz2
sbpython3-eb2d8546bceb413a8aa2ea1e939e7939363dd998.tar.xz
build system: configure: respect project-specific make{mode} preferences.
Diffstat (limited to 'configure')
-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."