summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-10 13:49:05 +0000
committermidipix <writeonce@midipix.org>2021-04-10 20:54:49 +0000
commit0e867e9a3b76e7f65d2f99d03ea390a03a1987de (patch)
tree0925f9a3f7d57af410ea5e35108659cda1b01f3d /configure
parent1a7e555148acd7c025b3206e17e0daf8595b3a85 (diff)
downloadperk-0e867e9a3b76e7f65d2f99d03ea390a03a1987de.tar.bz2
perk-0e867e9a3b76e7f65d2f99d03ea390a03a1987de.tar.xz
build system: configure: added --makemode and MAKEMODE support.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index a555eb6..ff05411 100755
--- a/configure
+++ b/configure
@@ -214,6 +214,7 @@ init_vars()
# make
mb_make=$MAKE
+ mb_makemode=$MAKEMODE
# build
mb_build=$BUILD
@@ -608,6 +609,10 @@ common_defaults()
mb_make='make'
fi
+ if [ -z "$mb_makemode" ]; then
+ mb_makemode='posix'
+ fi
+
# shell
if [ -z "$mb_shell" ]; then
mb_shell='/bin/sh'
@@ -943,6 +948,10 @@ for arg ; do
mb_make=${arg#*=}
;;
+ --makemode=*)
+ mb_makemode=${arg#*=}
+ ;;
+
# build
--build=*)
mb_build=${arg#*=}