X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2FAutomake%2FOptions.pm;h=737d2a1705c480744f8c38fa20f514342146bf21;hb=780299d96327ac43de44e38173c0162ed2c10474;hp=231600b82c1aaeb4f68fe9e3cebba5324bdfe53a;hpb=7b6129b9bb74773e1a02c5c43614f9fd47179369;p=platform%2Fupstream%2Fautomake.git diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index 231600b..737d2a1 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2003-2012 Free Software Foundation, Inc. +# Copyright (C) 2003-2013 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -272,10 +272,9 @@ sub _is_valid_easy_option ($) dejagnu dist-bzip2 dist-lzip - dist-shar - dist-tarZ dist-xz dist-zip + info-in-builddir no-define no-dependencies no-dist @@ -286,6 +285,8 @@ sub _is_valid_easy_option ($) no-texinfo.tex nostdinc readme-alpha + serial-tests + parallel-tests silent-rules std-options subdir-objects @@ -313,29 +314,38 @@ sub _process_option_list (\%@) { set_strictness ($_); } + # TODO: Remove this special check in Automake 3.0. elsif (/^(.*\/)?ansi2knr$/) { # Obsolete (and now removed) de-ANSI-fication support. error ($where, "automatic de-ANSI-fication support has been removed"); } + # TODO: Remove this special check in Automake 3.0. elsif ($_ eq 'cygnus') { error $where, "support for Cygnus-style trees has been removed"; } + # TODO: Remove this special check in Automake 3.0. elsif ($_ eq 'dist-lzma') { error ($where, "support for lzma-compressed distribution " . "archives has been removed"); } - elsif ($_ eq 'parallel-tests') + # TODO: Make this a fatal error in Automake 2.0. + elsif ($_ eq 'dist-shar') { - # Just recognize it explicitly. + msg ('obsolete', $where, + "support for shar distribution archives is deprecated.\n" . + " It will be removed in Automake 2.0"); } - elsif ($_ eq 'serial-tests') + # TODO: Make this a fatal error in Automake 2.0. + elsif ($_ eq 'dist-tarZ') { - # This is a little of an hack, but good enough for the moment. - delete $options->{'parallel-tests'}; + msg ('obsolete', $where, + "support for distribution archives compressed with " . + "legacy program 'compress' is deprecated.\n" . + " It will be removed in Automake 2.0"); } elsif (/^filename-length-max=(\d+)$/) {