summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 12:49:09 -0500
committermidipix <writeonce@midipix.org>2018-12-31 12:50:51 -0500
commit44654b09c39f0817301e57fb4c38347cb09a4ab6 (patch)
tree2215b310e8d235aba3a0299406380f36d8978416
parent34c1af8c9ef246e847f7a75319dd2125ff783206 (diff)
downloadsbpython3-44654b09c39f0817301e57fb4c38347cb09a4ab6.tar.bz2
sbpython3-44654b09c39f0817301e57fb4c38347cb09a4ab6.tar.xz
build system: configure: support a simple, project-specific cfgdefs.in.
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 1ee5f3e..d28e1be 100755
--- a/configure
+++ b/configure
@@ -97,6 +97,10 @@ init_vars()
'a custom config step.' \
> cfgdefs.mk
cat $mb_project_dir/sofort/cfgdefs.in >> cfgdefs.mk
+
+ if [ -f $mb_project_dir/project/cfgdefs.in ]; then
+ cat $mb_project_dir/project/cfgdefs.in >> cfgdefs.mk
+ fi
fi
# user build-time overrides