summaryrefslogtreecommitdiff
path: root/m4/locale-fr.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-12-23 00:48:38 +0100
committerBruno Haible <bruno@clisp.org>2008-12-23 00:48:38 +0100
commit868fa74a641af6e4be343caa1407be5d0de85d67 (patch)
treedeb9aa0acda06067446752e4e48d972cc68a6d24 /m4/locale-fr.m4
parentbed49847d22dba5330708c752a6d0fa79d2b7cad (diff)
downloadgnulib-868fa74a641af6e4be343caa1407be5d0de85d67.tar.gz
Treat Haiku like BeOS.
Diffstat (limited to 'm4/locale-fr.m4')
-rw-r--r--m4/locale-fr.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/locale-fr.m4 b/m4/locale-fr.m4
index 5bdd2ca57c..0dfb6cec48 100644
--- a/m4/locale-fr.m4
+++ b/m4/locale-fr.m4
@@ -1,4 +1,4 @@
-# locale-fr.m4 serial 8
+# locale-fr.m4 serial 9
dnl Copyright (C) 2003, 2005-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -133,10 +133,10 @@ changequote(,)dnl
struct tm t;
char buf[16];
int main () {
- /* On BeOS, locales are not implemented in libc. Rather, libintl
+ /* On BeOS nd Haiku, locales are not implemented in libc. Rather, libintl
imitates locale dependent behaviour by looking at the environment
variables, and all locales use the UTF-8 encoding. */
-#if !defined(__BEOS__)
+#if !(defined __BEOS__ || defined __HAIKU__)
/* Check whether the given locale name is recognized by the system. */
if (setlocale (LC_ALL, "") == NULL) return 1;
/* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".