2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
+ * 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.
# 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')
&& ! 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')