]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix build failure on AIX 7.
authorBruno Haible <bruno@clisp.org>
Tue, 15 Jun 2021 08:36:08 +0000 (10:36 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Jun 2021 08:36:08 +0000 (10:36 +0200)
* gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Require gl_LOCALE_H_DEFAULTS
before gt_INTL_THREAD_LOCALE_NAME.

gettext-runtime/m4/intl.m4

index 42084c37da048db64bed6d1c6cd9fb182710f300..84a166f61d1e1d219247adf43f5d28edcfb0119e 100644 (file)
@@ -1,4 +1,4 @@
-# intl.m4 serial 47 (gettext-0.21.1)
+# intl.m4 serial 48 (gettext-0.21.1)
 dnl Copyright (C) 1995-2014, 2016-2021 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -38,7 +38,12 @@ AC_DEFUN([AM_INTL_SUBDIR],
   AC_REQUIRE([gt_PRINTF_POSIX])
   AC_REQUIRE([gl_XSIZE])dnl
   AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl
+
+  dnl Make sure LOCALENAME_ENHANCE_LOCALE_FUNCS gets initialized to 0 before,
+  dnl not after, it has been set to 1 by gt_INTL_THREAD_LOCALE_NAME.
+  AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
   AC_REQUIRE([gt_INTL_THREAD_LOCALE_NAME])
+
   AC_REQUIRE([gt_INTL_MACOSX])dnl
   AC_REQUIRE([gl_EXTERN_INLINE])dnl
   AC_REQUIRE([gt_GL_ATTRIBUTE])dnl