automake
[Top][All Lists]
Advanced

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

AM_GNU_GETTEXT([external]) broken


From: Charles Wilson
Subject: AM_GNU_GETTEXT([external]) broken
Date: Fri, 12 Jul 2002 15:32:23 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

If I use AM_GNU_GETTEXT([external]) in my configure.ac, then I shouldn't need to have /po and /intl directories in my tree. However, these checks don't allow that exception:

From automake.in:
sub handle_gettext
{
    return if ! $seen_gettext || $relative_dir ne '.';

    if (! variable_defined ('SUBDIRS'))
    {
   conf_error ("AM_GNU_GETTEXT used but SUBDIRS not defined");
   return;
    }

    my @subdirs = &variable_value_as_list_recursive ('SUBDIRS', 'all');
    macro_error ('SUBDIRS',
       "AM_GNU_GETTEXT used but `po' not in SUBDIRS")
   if ! grep ('po', @subdirs);
    macro_error ('SUBDIRS',
       "AM_GNU_GETTEXT used but `intl' not in SUBDIRS")
   if ! grep ('intl', @subdirs);

    require_file ($ac_gettext_location, GNU, 'ABOUT-NLS');
}

Shouldn't all of these be optional if 'external' is specified?

--Chuck




reply via email to

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