From c123de464dea801978314665b174f735a873378d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 27 Mar 2010 11:32:07 -0700 Subject: [PATCH] configure.ac: Define DEPENDS_ON_LIBINTL if LIBINTL is nonempty. This avoids a collision between the gnulib and libintl printf wrappers. See http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/21139 for more information. Thanks to Michel Boaventura for reporting the problem and to Bruno Haible for the fix. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2ca57b74..5ad33fee 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,9 @@ dnl Internationalization macros. AC_PROVIDE([AM_PO_SUBDIRS]) # PSPP provides its own po/ support. AM_GNU_GETTEXT([external], [need-ngettext]) AM_GNU_GETTEXT_VERSION([0.17]) +if test -n "$LIBINTL"; then + AC_DEFINE([DEPENDS_ON_LIBINTL], [1], + [Define to 1 if libintl is a separate library, not integrated into libc]) fi dnl Checks for libraries. -- 2.30.2