summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/mklines.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkglint/files/mklines.go')
-rw-r--r--pkgtools/pkglint/files/mklines.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/mklines.go b/pkgtools/pkglint/files/mklines.go
index 0e0146e08f9..be9ac0ff354 100644
--- a/pkgtools/pkglint/files/mklines.go
+++ b/pkgtools/pkglint/files/mklines.go
@@ -176,7 +176,14 @@ func (mklines *MkLines) determineDefinedVariables() {
}
case "USE_TOOLS":
- for _, tool := range splitOnSpace(mkline.Value()) {
+ tools := mkline.Value()
+ if matches(tools, `\bautoconf213\b`) {
+ tools += " autoconf autoheader-2.13 autom4te-2.13 autoreconf-2.13 autoscan-2.13 autoupdate-2.13 ifnames-2.13"
+ }
+ if matches(tools, `\bautoconf\b`) {
+ tools += " autoheader autom4te autoreconf autoscan autoupdate ifnames"
+ }
+ for _, tool := range splitOnSpace(tools) {
tool = strings.Split(tool, ":")[0]
mklines.tools[tool] = true
if G.opts.DebugMisc {