summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 8c0bb0ade4ba..8a8f4c51b578 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -90,6 +90,13 @@ sub read_args($)
print STDERR " $opt\n";
}
}
+ } elsif ( /^INCLUDE:(.*)/ ) {
+ # include another .conf into this one
+ my $config = "$src_path/distro-configs/$1.conf";
+ if (! -f $config) {
+ invalid_distro ($config, $1);
+ }
+ push @lst, read_args ($config);
} elsif ( substr($_, 0, 1) eq "#" ) {
# comment
} elsif ( length == 0 ) {