(_): Honor the setting of ENABLE_NLS. Otherwise,
[gnulib.git] / lib / regex.c
index 1840b03..560a594 100644 (file)
@@ -91,7 +91,7 @@
 # endif
 
 /* This is for other GNU distributions with internationalized messages.  */
-# if HAVE_LIBINTL_H || defined _LIBC
+# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
 #  include <libintl.h>
 #  ifdef _LIBC
 #   undef gettext