Index: xfconf-query/main.c =================================================================== --- xfconf-query/main.c (révision 29511) +++ xfconf-query/main.c (copie de travail) @@ -49,14 +49,12 @@ #include -#if defined(GETTEXT_PACKAGE) -#include -#else -#include +#include + +#ifdef HAVE_LOCALE_H +#include #endif -#include - #include "xfconf-gvaluefuncs.h" #include "xfconf-common-private.h" #include "xfconf/xfconf.h" @@ -256,6 +254,9 @@ main(int argc, char **argv) gint fd = -1; GOptionContext *context; +#ifdef ENABLE_NLS + setlocale (LC_ALL, ""); +#endif xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8"); g_type_init(); Index: configure.ac.in =================================================================== --- configure.ac.in (révision 29511) +++ configure.ac.in (copie de travail) @@ -40,11 +40,11 @@ AC_PROG_LN_S dnl check for standard header files AC_HEADER_STDC -AC_CHECK_HEADERS([errno.h fcntl.h grp.h \ +AC_CHECK_HEADERS([errno.h fcntl.h grp.h locale.h \ signal.h stdlib.h string.h \ sys/stat.h sys/time.h sys/types.h sys/wait.h \ unistd.h]) -dnl AC_CHECK_FUNCS([fdwalk getdtablesize setsid sysconf]) +dnl AC_CHECK_FUNCS([fdwalk getdtablesize setlocale setsid sysconf]) dnl version information XFCONF_VERSION=xfconf_version