summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 12:49:09 -0500
committermidipix <writeonce@midipix.org>2018-12-31 21:36:46 -0500
commitc8e23f70be15c603f652d79fbd43d695c644847c (patch)
treee81780783691d98fb6e0079f24810c80f842d4fd
parent890075dc723b8de6380a06020c3d94de81e22487 (diff)
downloadslibtool-c8e23f70be15c603f652d79fbd43d695c644847c.tar.bz2
slibtool-c8e23f70be15c603f652d79fbd43d695c644847c.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