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 10bdffe610e2..49835ff27e25 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -84,6 +84,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 ) {