From 42faee0e41e808398cb60d9762a6fc7c9148e2ba Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 15 Jun 2021 10:36:08 +0200 Subject: [PATCH] Fix build failure on AIX 7. * gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Require gl_LOCALE_H_DEFAULTS before gt_INTL_THREAD_LOCALE_NAME. --- gettext-runtime/m4/intl.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gettext-runtime/m4/intl.m4 b/gettext-runtime/m4/intl.m4 index 788bc120a..5e1cb5449 100644 --- a/gettext-runtime/m4/intl.m4 +++ b/gettext-runtime/m4/intl.m4 @@ -1,4 +1,4 @@ -# intl.m4 serial 46 (gettext-0.21.1) +# intl.m4 serial 47 (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, @@ -39,7 +39,12 @@ AC_DEFUN([AM_INTL_SUBDIR], AC_REQUIRE([gl_GLIBC21])dnl 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 -- 2.47.2