1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)

* gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
        * configure.in: Don't check for libintl.h.
        * configure, config.in: Regenerated.

Fixes a problem on debian systems, a conflict between the
/usr/include/libintl.h and the routines that are actually linked in,
up in ../intl.
This commit is contained in:
Jason Molenda
1999-02-09 07:03:23 +00:00
parent f84e1784d4
commit 8aad4bd619
5 changed files with 145 additions and 130 deletions

View File

@@ -57,7 +57,8 @@
#endif
/* This is for other GNU distributions with internationalized messages. */
#if HAVE_LIBINTL_H || defined _LIBC
/* CYGNUS LOCAL: ../intl will handle this for us */
#ifdef ENABLE_NLS
# include <libintl.h>
#else
# define gettext(msgid) (msgid)