configure: Invoke AM_GNU_GETTEXT by hand.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 16 Apr 2011 03:16:02 +0000 (20:16 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 16 Apr 2011 03:16:02 +0000 (20:16 -0700)
The Gnulib "gettext" module does not invoke AM_GNU_GETTEXT, because
gnulib-tool uses "sed" to filter it out.  So we must invoke it
ourselves.

John Darrington narrowed the problem down to the commit b54a5702b6
"Fix up build following dropping ulc-width-linebreaks module" that
started using the gettext Gnulib module.

Bug #33083.
Reported by Mindaugus.

configure.ac

index ac57a2a9633f62167d05dcd7af2960391c10e24a..49058a729bbb33e6df2299454055a96b63918e36 100644 (file)
@@ -34,7 +34,7 @@ PSPP_PERL
 
 dnl Disable automatic po/ support, because PSPP provides its own po/ support.
 AC_PROVIDE([AM_PO_SUBDIRS])
-AM_GNU_GETTEXT_NEED([need-ngettext])
+AM_GNU_GETTEXT([external], [need-ngettext])
 
 dnl Checks for libraries.
 AC_SYS_LARGEFILE