[_]: Define to gettext also if ENABLE_NLS is defined.
authorJim Meyering <jim@meyering.net>
Wed, 8 Jan 1997 04:52:00 +0000 (04:52 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 8 Jan 1997 04:52:00 +0000 (04:52 +0000)
lib/getopt.c

index 1cefc10..2df545a 100644 (file)
@@ -88,7 +88,7 @@
 #ifndef _
 /* This is for other GNU distributions with internationalized messages.
    When compiling libc, the _ macro is predefined.  */
-#ifdef HAVE_LIBINTL_H
+#if defined (HAVE_LIBINTL_H) || defined (ENABLE_NLS)
 # include <libintl.h>
 # define _(msgid)      gettext (msgid)
 #else