summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-10 11:10:50 +0000
committermidipix <writeonce@midipix.org>2020-01-24 21:14:10 +0000
commit82a7dbb6b74c1d33fdbeb58f0128cd83b7ee6f72 (patch)
tree96bcf46db5fe4b5c2a431c02c4bc7f0cfdd70922 /configure
parenteeb0912315aeb1e2ec756504a8b48e1c353617f2 (diff)
downloadbautomake-82a7dbb6b74c1d33fdbeb58f0128cd83b7ee6f72.tar.bz2
bautomake-82a7dbb6b74c1d33fdbeb58f0128cd83b7ee6f72.tar.xz
build system: ./configure: properly handle passing of args to dot scripts.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 76fc5b8..66e2b34 100755
--- a/configure
+++ b/configure
@@ -529,6 +529,11 @@ config_ccenv()
config_copy
}
+config_custom_cfgdefs()
+{
+ . $mb_project_dir/project/config/cfgdefs.sh
+}
+
config_custom()
{
if [ _$mb_use_custom_cfgdefs = _yes ]; then
@@ -536,8 +541,7 @@ config_custom()
output_script_status ${mb_script} \
'invoking project-specific cfgdefs.sh'
- eval . $mb_project_dir/project/config/cfgdefs.sh \
- "$mb_custom_cfgdefs_args"
+ eval config_custom_cfgdefs "$mb_custom_cfgdefs_args"
output_section_break
config_copy