automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: flag missing po/ and intl/ as warnings, not errors (PR/381)


From: Alexandre Duret-Lutz
Subject: FYI: flag missing po/ and intl/ as warnings, not errors (PR/381)
Date: Tue, 11 Feb 2003 14:29:58 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

I'm checking in the following on HEAD and branch-1-7.  

This should help zaufi (sorry I don't know your name)
build a package with multiple po/ directories.   This is
just a little hack, though, as the warnings will be output
anyway, but at least they won't stop your build.

It would be nice to find something smarter to do in Automake
1.8.  We could try to be more clever at spotting po/ directories
in the source tree (how?).  Another possibility is to drop these
diagnostic entirely, and let users discover by themselves when
a project is misconfigured.  Any ideas?

2003-02-11  Alexandre Duret-Lutz  <address@hidden>

        Temporary hack for PR automake/381:
        * automake.in (handle_gettext): Turn missing po/ and intl/ errors
        into -Wsyntax warnings.

Index: NEWS
===================================================================
RCS file: /cvs/automake/automake/NEWS,v
retrieving revision 1.198.2.21
diff -u -r1.198.2.21 NEWS
--- NEWS        10 Feb 2003 22:16:50 -0000      1.198.2.21
+++ NEWS        11 Feb 2003 13:04:12 -0000
@@ -18,6 +18,7 @@
   - dashmstdout and dashXmstdout modes: don't use `-o /dev/null', this
     is troublesome with gcc and Solaris compilers.
   - makedepend mode: work with Libtool.
+* Flag missing po/ and intl/ directories as warnings, not errors. (PR/381)
 * Noteworthy manual updates:
   - New FAQ chapter.
   - Document how AC_CONFIG_AUX_DIR interacts with missing files.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1365.2.32
diff -u -r1.1365.2.32 automake.in
--- automake.in 10 Feb 2003 19:00:36 -0000      1.1365.2.32
+++ automake.in 11 Feb 2003 13:04:18 -0000
@@ -4714,11 +4714,11 @@
     }
 
   my @subdirs = &variable_value_as_list_recursive ('SUBDIRS', 'all');
-  err_var 'SUBDIRS', "AM_GNU_GETTEXT used but `po' not in SUBDIRS"
+  msg_var 'syntax', 'SUBDIRS', "AM_GNU_GETTEXT used but `po' not in SUBDIRS"
     if ! grep ($_ eq 'po', @subdirs);
   # intl/ is not required when AM_GNU_GETTEXT is called with
   # the `external' option.
-  err_var 'SUBDIRS', "AM_GNU_GETTEXT used but `intl' not in SUBDIRS"
+  msg_var 'syntax', 'SUBDIRS', "AM_GNU_GETTEXT used but `intl' not in SUBDIRS"
     if (! $seen_gettext_external
        && ! grep ($_ eq 'intl', @subdirs));
 
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]