From: David Schleef Date: Sun, 19 Aug 2001 01:31:26 +0000 (+0000) Subject: locale settings need to be #ifdef'd X-Git-Tag: r0_7_17~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83767a6b853ed025205b5d7c9021d9ef67a7abef;p=comedilib.git locale settings need to be #ifdef'd --- diff --git a/comedi_config/comedi_config.c b/comedi_config/comedi_config.c index 0310ef6..0ed16d0 100644 --- a/comedi_config/comedi_config.c +++ b/comedi_config/comedi_config.c @@ -112,9 +112,11 @@ int main(int argc,char *argv[]) int remove=0; int index; +#ifdef CONFIG_I18N setlocale(LC_ALL, ""); bindtextdomain("comedilib", "/home/ds/cvs/comedilib/doc"); textdomain("comedilib"); +#endif if(geteuid() != 0) fprintf(stderr,_("comedi_config should be run as root. Attempting to continue anyway.\n"));