|
@@ -2223,7 +2223,7 @@ xargs xmkmf
|
|
|
&& $lm !~ /^COMMENT(.)?=[^\n]+($i\d*)/m) {
|
|
|
&perror("WARN", $file, $lineno, "possible direct use of ".
|
|
|
"command \"$sm\" found. Use $autocmdnames{$i} ".
|
|
|
- "instead and set according USE_AUTOTOOLS=<tool> macro");
|
|
|
+ "instead and set USES=autoreconf and GNU_CONFIGURE=yes");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2233,6 +2233,14 @@ xargs xmkmf
|
|
|
"Use USES=libtool instead.");
|
|
|
}
|
|
|
|
|
|
+ if ($makevar{'USE_AUTOTOOLS'} =~ /\blibtoolize\b/) {
|
|
|
+ &perror("WARN", $file, -1, "USE_AUTOTOOLS=libtoolize is deprecated. ".
|
|
|
+ "Use \"USES=autoreconf libtool\" instead.");
|
|
|
+ } elsif ($makevar{'USE_AUTOCONF'}) {
|
|
|
+ &perror("WARN", $file, -1, "USE_AUTOTOOLS is deprecated. ".
|
|
|
+ "Use USES=autoreconf and set GNU_CONFIGURE=yes instead.");
|
|
|
+ }
|
|
|
+
|
|
|
#
|
|
|
# whole file: check for use of paths that have macro replacements
|
|
|
#
|