summaryrefslogtreecommitdiff
path: root/getopt.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-01-25 07:42:51 +0000
committerPaul Smith <psmith@gnu.org>2000-01-25 07:42:51 +0000
commitde2a8fc730d0b87cd19959ba876ffa34d0853dcd (patch)
tree926e855867dbb2b79b5e5fe6050ec3154f35e50e /getopt.c
parent447c76f601fc1dedfd8e9cc333b8e576b96d1d0c (diff)
downloadgunmake-de2a8fc730d0b87cd19959ba876ffa34d0853dcd.tar.gz
* Updated gettext to use more advanced libit 0.7 version.
* Various cleanups.
Diffstat (limited to 'getopt.c')
-rw-r--r--getopt.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/getopt.c b/getopt.c
index 03effcb..cd77419 100644
--- a/getopt.c
+++ b/getopt.c
@@ -79,16 +79,11 @@
# endif
#endif
-#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
-# ifdef HAVE_LIBINTL_H
-# include <libintl.h>
-# define _(msgid) gettext (msgid)
-# else
-# define _(msgid) (msgid)
-# endif
-#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
/* This version of `getopt' appears to the caller like standard Unix `getopt'
but it behaves differently for the user, since it allows the user