bug-gnulib
[Top][All Lists]
Advanced

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

surprising behavior of gettext module


From: Ben Pfaff
Subject: surprising behavior of gettext module
Date: Fri, 15 Apr 2011 20:23:19 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

The gettext module says in its configure.ac section that it
invokes AM_GNU_GETTEXT:

    configure.ac:
    AM_GNU_GETTEXT([external])
    AM_GNU_GETTEXT_VERSION([0.18.1])

This would ordinarily lead one to believe that it is not
necessary to invoke AM_GNU_GETTEXT elsewhere in configure.ac, but
gnulib-tool filters it out:

        func_get_autoconf_snippet "$module" \
          | sed -e '/^$/d;' -e 's/^/  /' \
                -e 's/AM_GNU_GETTEXT(\[external\])/dnl you must add 
AM_GNU_GETTEXT([external]) or similar to configure.ac./' \
                -e "$sed_replace_build_aux"

This is surprising behavior.  I would suggest that the gettext
module shouldn't list AM_GNU_GETTEXT in its configure.ac section,
or that at least it should mention in a Notice that it doesn't
really invoke AM_GNU_GETTEXT.

Thanks,

Ben.
-- 
Ben Pfaff 
http://benpfaff.org



reply via email to

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