diff options
Diffstat (limited to 'lib/Automake/Options.pm')
-rw-r--r-- | lib/Automake/Options.pm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index a6bc795fa..2b71b8c84 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -339,20 +339,20 @@ sub _process_option_list (\%@) "archives has been removed"); $ret = 0; } - # TODO: Make this a fatal error in Automake 2.0. + # TODO: Remove this special check in Automake 3.0. elsif ($_ eq 'dist-shar') { - msg ('obsolete', $where, - "support for shar distribution archives is deprecated.\n" . - " It will be removed in Automake 2.0"); + error ($where, "support for shar distribution archives has " . + "been removed."); + $ret = 0; } - # TODO: Make this a fatal error in Automake 2.0. + # TODO: Remove this special check in Automake 3.0. elsif ($_ eq 'dist-tarZ') { - msg ('obsolete', $where, - "support for distribution archives compressed with " . - "legacy program 'compress' is deprecated.\n" . - " It will be removed in Automake 2.0"); + error ($where, "support for distribution archives compressed " . + "with legacy program 'compress' has " . + "been removed."); + $ret = 0; } elsif (/^filename-length-max=(\d+)$/) { |