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
commitba0bcd723654ca984b3de88bbaf91cb89f755f93 (patch)
tree820d973702d3d94ee2d1894c61e45f673cdbacfe
parentcba45e15ae53f8ed12babfb6693d8abb9ce8f74e (diff)
downloadsbpython2-ba0bcd723654ca984b3de88bbaf91cb89f755f93.tar.bz2
sbpython2-ba0bcd723654ca984b3de88bbaf91cb89f755f93.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