summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 12:49:09 -0500
committermidipix <writeonce@midipix.org>2018-12-31 21:37:16 -0500
commit18aad45ee53c82c42350f1344ffefd297a1e883a (patch)
treef982ccfed542aca4086e70da342c489557d5a812
parentce8e9e9e4793c55581b08960048e14075fa8e927 (diff)
downloadperk-18aad45ee53c82c42350f1344ffefd297a1e883a.tar.bz2
perk-18aad45ee53c82c42350f1344ffefd297a1e883a.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