* automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
authorAlexandre Duret-Lutz <adl@gnu.org>
Fri, 10 Mar 2006 10:52:19 +0000 (10:52 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Fri, 10 Mar 2006 10:52:19 +0000 (10:52 +0000)
a 'portability' warning, so that people can ignore it.  Suggested
by Ralf Wildenhues.

ChangeLog
automake.in

index 269b2a1..c2cf206 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
index bc285a6..174eb67 100755 (executable)
@@ -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')