pspp-dev
[Top][All Lists]
Advanced

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

Re: Multiple definitions of ___printf__


From: John Darrington
Subject: Re: Multiple definitions of ___printf__
Date: Fri, 26 Mar 2010 07:13:32 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Mar 25, 2010 at 09:36:48PM -0700, Ben Pfaff wrote:

     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?

Removing AM_GNU_GETTEXT* was a concious decision.  I decided that it was
hindering more than helping.  The log message for that commit elaborates on 
this.
If we decide to use AM_GNU_GETTEXT again, we should make sure that these 
problems
don't reappear.  Particularly, since we now have a number of active translators.

I don't think it will be very difficult to write an autoconf test to see if libc
contains libintl or not.

J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

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