From 1946295a57940365ec76687f8ee72d328e80acd9 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Fri, 21 Feb 2003 12:43:17 +0000 Subject: [PATCH] 2003-02-21 Marcel Telka * src/jtag.c (main): Added conditional compilation for l10n. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@378 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 4 ++++ jtag/src/jtag.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 6276578e..6599a033 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,7 @@ +2003-02-21 Marcel Telka + + * src/jtag.c (main): Added conditional compilation for l10n. + 2003-02-20 Marcel Telka * src/Makefile.am (jtag_SOURCES): Added missing flash.h. diff --git a/jtag/src/jtag.c b/jtag/src/jtag.c index 9064902d..5fc574e5 100644 --- a/jtag/src/jtag.c +++ b/jtag/src/jtag.c @@ -807,10 +807,12 @@ jtag_parse_rc( void ) int main( void ) { +#ifdef ENABLE_NLS /* l10n support */ setlocale( LC_MESSAGES, "" ); bindtextdomain( PACKAGE, LOCALEDIR ); textdomain( PACKAGE ); +#endif /* ENABLE_NLS */ printf( "%s\n"