Subject: libintl - gettext.m4 TNG
To: None <tech-userlevel@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: tech-userlevel
Date: 07/15/2003 13:36:22
While compiling bison-1.875, I see that gettext.m4 is staying one step ahead
of our libintl/gettext_dummy.c:

#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
  ;
  return 0;
}

They now test for _nl_domain_bindings as well...

Cheers,

Patrick