summaryrefslogtreecommitdiff
path: root/bin/automake.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/automake.in')
-rwxr-xr-xbin/automake.in47
1 files changed, 1 insertions, 46 deletions
diff --git a/bin/automake.in b/bin/automake.in
index b17ad7bd1..301c850e4 100755
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -70,6 +70,7 @@ use Automake::Requires;
use Automake::Rule;
use Automake::RuleDef;
use Automake::SilentRules;
+use Automake::Standards;
use Automake::Texi;
use Automake::Utils;
use Automake::VarDef;
@@ -90,8 +91,6 @@ sub append_exeext (&$);
sub check_canonical_spelling;
sub check_directories_in_var;
sub check_directory;
-sub check_gnits_standards ();
-sub check_gnu_standards ();
sub check_libobjs_sources;
sub check_trailing_slash ($\$);
sub check_typos ();
@@ -4396,50 +4395,6 @@ sub scan_autoconf_files ()
@configure_dist_common = @dist_common;
}
-################################################################
-
-# Do any extra checking for GNU standards.
-sub check_gnu_standards ()
-{
- if ($relative_dir eq '.')
- {
- # In top level (or only) directory.
- require_file ("$am_file.am", GNU,
- qw/INSTALL NEWS README AUTHORS ChangeLog/);
-
- # Accept one of these three licenses; default to COPYING.
- # Make sure we do not overwrite an existing license.
- my $license;
- foreach (qw /COPYING COPYING.LIB COPYING.LESSER/)
- {
- if (-f $_)
- {
- $license = $_;
- last;
- }
- }
- require_file ("$am_file.am", GNU, 'COPYING')
- unless $license;
- }
-
- for my $opt ('no-installman', 'no-installinfo')
- {
- msg ('error-gnu', option $opt,
- "option '$opt' disallowed by GNU standards")
- if option $opt;
- }
-}
-
-# Do any extra checking for GNITS standards.
-sub check_gnits_standards ()
-{
- if ($relative_dir eq '.')
- {
- # In top level (or only) directory.
- require_file ("$am_file.am", GNITS, 'THANKS');
- }
-}
-
################################################################