projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa125d
)
locale settings need to be #ifdef'd
author
David Schleef
<ds@schleef.org>
Sun, 19 Aug 2001 01:31:26 +0000
(
01:31
+0000)
committer
David Schleef
<ds@schleef.org>
Sun, 19 Aug 2001 01:31:26 +0000
(
01:31
+0000)
comedi_config/comedi_config.c
patch
|
blob
|
history
diff --git
a/comedi_config/comedi_config.c
b/comedi_config/comedi_config.c
index 0310ef6517b54ad11d47d312350bb4742681b356..0ed16d0b9fe8311a358cb8e8a02085e0eee12ec1 100644
(file)
--- 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"));