Bruno Haible <br...@clisp.org> writes, some time ago: >> +#if !DEPENDS_ON_LIBINTL /* avoid collision with intl/printf.c */ > > Also, your configure.ac should define DEPENDS_ON_LIBINTL if LIBINTL > (determined by AM_GNU_GETTEXT) evaluates to non-empty.
This fixes the build in the case where both libintl and PSPP's Gnulib define __printf__. But it broke the build in the previously working case where libintl did not define __printf__ but PSPP's Gnulib did and no longer does. This is the case on, for example, FreeBSD 7.3 and, according to reports on pspp-dev, OpenSUSE as well. Is the best solution to check whether libintl defines __printf__ and, if so, avoid defining it in Gnulib? Thanks, Ben. -- Ben Pfaff http://benpfaff.org