From 3a47bfe4b17c330ef26229fea8ffe4b8b1fab33c Mon Sep 17 00:00:00 2001 From: Changwoo Ryu Date: Wed, 17 Feb 1999 03:59:39 +0000 Subject: [PATCH] Removed the suspicious `#ifdef HAVE_DGETTEXT...' switch. Now `progname 1999-02-17 Changwoo Ryu * poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...' switch. Now `progname --help' messages should be translated. svn path=/trunk/; revision=637 --- support/ChangeLog | 5 +++++ support/poptint.h | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/support/ChangeLog b/support/ChangeLog index bd1b2ee..838c49a 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,8 @@ +1999-02-17 Changwoo Ryu + + * poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...' + switch. Now `progname --help' messages should be translated. + 1998-12-24 Jeff Garzik * poptparse.[ch]: poptParseArgvString cleanups... diff --git a/support/poptint.h b/support/poptint.h index 8fc6a84..57dd839 100644 --- a/support/poptint.h +++ b/support/poptint.h @@ -49,14 +49,10 @@ struct poptContext_s { #ifdef HAVE_GETTEXT #define _(foo) gettext(foo) -#else -#define _(foo) (foo) -#endif - -#ifdef HAVE_DGETTEXT #define D_(dom, str) dgettext(dom, str) #define POPT_(foo) D_("popt", foo) #else +#define _(foo) (foo) #define POPT_(foo) (foo) #define D_(dom, str) (str) #endif -- 2.7.4