Bruno Haible gave this advice:
> "Also, your configure.ac should define DEPENDS_ON_LIBINTL if LIBINTL
> (determined by AM_GNU_GETTEXT) evaluates to non-empty."

I can't see where we're invoking AM_GNU_GETTEXT at all.  It seems
that we should be, to get LIBINTL set appropriately.  This lack
doesn't cause a problem with glibc, where libintl is integrated
into libc.

We used to call AM_GNU_GETTEXT, but commit e59bf0b7b7 "Rewrite
automake rules for internationalisation files." back in August
2009 deleted it.

I suspect that we should re-add
        AM_GNU_GETTEXT([external], [need-ngettext])
        AM_GNU_GETTEXT_VERSION([0.17])
back to configure.ac, and then append
        if test -n "$LIBINTL"; then
            AC_DEFINE([DEPENDS_ON_LIBINTL], [1],
                      [Define to 1 if libintl is built as a
                       separate library rather than integrated
                       into libc])
        fi
based on Bruno's advice.

What do you think?
-- 
Ben Pfaff 
http://benpfaff.org


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to