localename, gettext: Fix host_os value for z/OS.
authorBruno Haible <bruno@clisp.org>
Fri, 20 Dec 2019 06:29:02 +0000 (07:29 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 20 Dec 2019 06:29:02 +0000 (07:29 +0100)
* m4/intl-thread-locale.m4 (gt_FUNC_USELOCALE): Fix host_os value in
cross-configuration code.

ChangeLog
m4/intl-thread-locale.m4

index 84662a18ae9ed859a235e93c539732061693c0b8..48ab97b0d88cdfa2acf6ada7c4145adbeb077357 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-12-20  Bruno Haible  <bruno@clisp.org>
+
+       localename, gettext: Fix host_os value for z/OS.
+       * m4/intl-thread-locale.m4 (gt_FUNC_USELOCALE): Fix host_os value in
+       cross-configuration code.
+
 2019-12-19  Jim Meyering  <meyering@fb.com>
 
        nstrftime: avoid a shadowing warning
index f74f11646d336aa00312a4e2a1aa66a7a765634d..7f8817ffefffa47d2195acbafdc631ffc74dba98 100644 (file)
@@ -1,4 +1,4 @@
-# intl-thread-locale.m4 serial 6
+# intl-thread-locale.m4 serial 7
 dnl Copyright (C) 2015-2019 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -171,8 +171,8 @@ int main ()
          [gt_cv_func_uselocale_works=no],
          [# Guess no on AIX and z/OS, yes otherwise.
           case "$host_os" in
-            aix* | mvs*) gt_cv_func_uselocale_works="guessing no" ;;
-            *)           gt_cv_func_uselocale_works="guessing yes" ;;
+            aix* | openedition*) gt_cv_func_uselocale_works="guessing no" ;;
+            *)                   gt_cv_func_uselocale_works="guessing yes" ;;
           esac
          ])
       ])