From df25a2fd0779277dd0f43d070e4a15f0dc16bacc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Aug 2009 21:34:47 +0200 Subject: make it compile without locale support --- config/conf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/conf.c') diff --git a/config/conf.c b/config/conf.c index 3baaaecd6..74be7e779 100644 --- a/config/conf.c +++ b/config/conf.c @@ -435,9 +435,11 @@ int main(int ac, char **av) const char *name; struct stat tmpstat; +#ifndef KBUILD_NO_NLS setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); +#endif while ((opt = getopt(ac, av, "osdD:nmyrh")) != -1) { switch (opt) { -- cgit v1.2.3