# HG changeset patch
# User tuomov
# Date 1105995729 -3600
# Node ID 9f94b2e96e3b353312957fa8b133889b25f4eaed
# Parent  77a9dc0a214019c3ba6cf84f68787d80d5d6e6a9
trunk: changeset 1934
Fixed everything that requires locale stuff to check CF_NO_LOCALE.

diff -r 77a9dc0a2140 -r 9f94b2e96e3b private.h
--- a/private.h	Sat Oct 09 17:42:46 2004 +0200
+++ b/private.h	Mon Jan 17 22:02:09 2005 +0100
@@ -10,7 +10,7 @@
 #ifndef LIBTU_PRIVATE_H
 #define LIBTU_PRIVATE_H
 
-#ifdef CF_L10N
+#ifndef CF_NO_LOCALE
 
 #include <libintl.h>
 
diff -r 77a9dc0a2140 -r 9f94b2e96e3b util.c
--- a/util.c	Sat Oct 09 17:42:46 2004 +0200
+++ b/util.c	Mon Jan 17 22:02:09 2005 +0100
@@ -12,10 +12,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#ifdef CONFIG_LOCALE
-#include <libintl.h>
-#endif
-
+#include "locale.h"
 #include "util.h"
 #include "misc.h"
 
@@ -26,8 +23,8 @@
 void libtu_init(const char *argv0)
 {
     progname=argv0;
-    
-#ifdef CONFIG_LOCALE
+
+#ifndef CF_NO_LOCALE
     textdomain(simple_basename(argv0));
 #endif
 }