Treat Haiku like BeOS.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Dec 2008 23:48:38 +0000 (00:48 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 22 Dec 2008 23:48:38 +0000 (00:48 +0100)
ChangeLog
m4/locale-fr.m4

index 096a63b06436a4dcc142e8160ddf619927656d7c..cbd0f5ed1bca9202a4c5665a8505287cc420d2fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR_UTF8): Treat Haiku like BeOS.
+
 2008-12-22  Bruno Haible  <bruno@clisp.org>
 
        Work around mbrlen() bugs on AIX, HP-UX, OSF/1, Solaris.
index 5bdd2ca57c1a8f547effad033843101a526043f3..0dfb6cec48d8fb0418a0c3f2039931aaec751add 100644 (file)
@@ -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".