From: Alexandre Duret-Lutz Date: Fri, 10 Mar 2006 10:52:19 +0000 (+0000) Subject: * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement X-Git-Tag: Release-1-9b~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7305532f5406601eb2861f96ffc12ee02a518e;p=thirdparty%2Fautomake.git * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement a 'portability' warning, so that people can ignore it. Suggested by Ralf Wildenhues. --- diff --git a/ChangeLog b/ChangeLog index 269b2a1c2..c2cf206f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-03-10 Alexandre Duret-Lutz + * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement + a 'portability' warning, so that people can ignore it. Suggested + by Ralf Wildenhues. + * lib/Automake/ChannelDefs.pm: Make -Wportability the default in gnu and gnits modes. * doc/automake.texi (Invoking Automake): Adjust. diff --git a/automake.in b/automake.in index bc285a64c..174eb6744 100755 --- a/automake.in +++ b/automake.in @@ -5242,7 +5242,8 @@ sub lang_c_rewrite # libtool is always able to put the object at the proper place, # so we do not have to require AM_PROG_CC_C_O when building .lo files. - err_var ($var, "compiling `$base.c' in subdir requires " + msg_var ('portabiliy', $var, + "compiling `$base.c' in subdir requires " . "`AM_PROG_CC_C_O' in `$configure_ac'", uniq_scope => US_GLOBAL, uniq_part => 'AM_PROG_CC_C_O subdir') @@ -5265,7 +5266,8 @@ sub lang_c_rewrite && ! option 'subdir-objects' && $nonansi_obj ne '.lo') { - err_var ($var, "compiling `$base.c' with per-target flags requires " + msg_var ('portability', + $var, "compiling `$base.c' with per-target flags requires " . "`AM_PROG_CC_C_O' in `$configure_ac'", uniq_scope => US_GLOBAL, uniq_part => 'AM_PROG_CC_C_O per-target')