locale settings need to be #ifdef'd

This commit is contained in:
David Schleef 2001-08-19 01:31:26 +00:00
parent baa125de2c
commit 83767a6b85

View 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"));