1 From 4ce3545b704588c5889b8dd7b100fcdb88ae2e1a Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Wed, 17 Sep 2014 17:48:54 +0100
4 Subject: [PATCH] iprutils: Don't use gettext
6 ... since we don't have any translation.
8 Based on the former patch by Jeremy Kerr.
10 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
11 [Thomas: adapt to the new autotools build system.]
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 2 files changed, 2 insertions(+), 4 deletions(-)
18 diff --git a/configure.ac b/configure.ac
19 index ee69bee..c1a4f70 100644
22 @@ -137,7 +137,7 @@ AC_SUBST([IPRCONFIG_LIBS])
25 # Checks for header files.
26 -AC_CHECK_HEADERS([fcntl.h libintl.h locale.h netinet/in.h nl_types.h \
27 +AC_CHECK_HEADERS([fcntl.h locale.h netinet/in.h nl_types.h \
28 paths.h stddef.h stdint.h stdlib.h string.h sys/file.h \
29 sys/ioctl.h sys/mount.h sys/socket.h syslog.h \
30 unistd.h ncurses.h form.h menu.h], [],
31 diff --git a/iprconfig.h b/iprconfig.h
32 index 9bce950..751a737 100644
41 -#define _(string) gettext(string)
42 +#define _(string) (string)
43 #define __(string) (string)
44 #define EXIT_FLAG 0x8000 /* stops at given screen on exit call */
45 #define CANCEL_FLAG 0x4000 /* stops at given screen on quit call */