locale settings need to be #ifdef'd
authorDavid Schleef <ds@schleef.org>
Sun, 19 Aug 2001 01:31:26 +0000 (01:31 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 19 Aug 2001 01:31:26 +0000 (01:31 +0000)
comedi_config/comedi_config.c

index 0310ef6517b54ad11d47d312350bb4742681b356..0ed16d0b9fe8311a358cb8e8a02085e0eee12ec1 100644 (file)
@@ -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"));