]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Drop use of gettext from getopt.c.
authorNiels Möller <nisse@lysator.liu.se>
Thu, 15 May 2014 19:33:20 +0000 (21:33 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 15 May 2014 19:33:20 +0000 (21:33 +0200)
ChangeLog
getopt.c

index 3885dd4eb8bedff569714c9ccd471486732d34d5..2a7c5845eafc8616e2fbae582dd15ef2e4059e63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-15  Niels Möller  <nisse@lysator.liu.se>
+
+       * getopt.c: Don't use gettext.
+
 2014-05-14  Niels Möller  <nisse@lysator.liu.se>
 
        * testsuite/nettle-pbkdf2-test: Avoid the bash construction
index 2d481f1c7f98fa7a5d90d9fcc17b8292177a0b6d..144a8b964ed1c08e5a5e64c418ef580af51bb407 100644 (file)
--- a/getopt.c
+++ b/getopt.c
@@ -68,8 +68,9 @@
 #ifdef _LIBC
 # include <libintl.h>
 #else
-# include "gettext.h"
-# define _(msgid) gettext (msgid)
+/* The glibc version includes "gettext.h" here, but Nettle currently doesn't
+   have that. */
+# define _(msgid) msgid
 #endif
 
 #if defined _LIBC