From 83767a6b853ed025205b5d7c9021d9ef67a7abef Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 19 Aug 2001 01:31:26 +0000 Subject: [PATCH] locale settings need to be #ifdef'd --- comedi_config/comedi_config.c | 2 ++ 1 file changed, 2 insertions(+) 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")); -- 2.26.2