summaryrefslogtreecommitdiff
path: root/gdb/gnu-regex.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-02-09 07:03:23 +0000
committerJason Molenda <jmolenda@apple.com>1999-02-09 07:03:23 +0000
commit8aad4bd619051a0db3f2476ec883b704bfab94da (patch)
tree0007ade00979394a891f87bb35dd81f99a9e0a7e /gdb/gnu-regex.c
parentf84e1784d47019302c7b2fd66dd160ad89fc0744 (diff)
downloadbinutils-gdb-8aad4bd619051a0db3f2476ec883b704bfab94da.tar.gz
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.
Diffstat (limited to 'gdb/gnu-regex.c')
-rw-r--r--gdb/gnu-regex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gnu-regex.c b/gdb/gnu-regex.c
index 547668e50a2..84db70f7952 100644
--- a/gdb/gnu-regex.c
+++ b/gdb/gnu-regex.c
@@ -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)