[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdlib: Work around MB_CUR_MAX bug on Solaris 10
From: |
Bruno Haible |
Subject: |
Re: stdlib: Work around MB_CUR_MAX bug on Solaris 10 |
Date: |
Wed, 05 Apr 2023 12:23:40 +0200 |
I wrote:
> * modules/stdlib (Files): Add m4/locale-fr.m4.
Oops. The command
./gnulib-tool --create-testdir --dir=../testdir --with-c++-tests
--without-privileged-tests --single-configure time_rz
now produces this warning and error:
configure.ac:330: warning: AM_LANGINFO_CODESET is m4_require'd but not
m4_defun'd
glm4/locale-fr.m4:140: gt_LOCALE_FR_UTF8 is expanded from...
configure.ac:30: gl_INIT is expanded from...
configure.ac:330: the top level
configure:10166: error: possibly undefined macro: AM_LANGINFO_CODESET
The cause is that every module that has a m4/locale-*.m4 file also needs
the m4/codeset.m4 file, for AM_LANGINFO_CODESET.
This patch fixes it.
2023-04-05 Bruno Haible <bruno@clisp.org>
stdlib, btowc: Fix file lists.
* modules/stdlib (Files): Add m4/codeset.m4.
* modules/btowc (Files): Likewise.
* modules/c-dtoastr-tests (Files): Likewise.
* modules/c-ldtoastr-tests (Files): Likewise.
* modules/c-snprintf-tests (Files): Likewise.
* modules/c-vasprintf-tests (Files): Likewise.
* modules/c-vsnprintf-tests (Files): Likewise.
* modules/c-xvasprintf-tests (Files): Likewise.
* modules/nl_langinfo-tests (Files): Likewise.
diff --git a/modules/btowc b/modules/btowc
index 4788b3ec13..237186322f 100644
--- a/modules/btowc
+++ b/modules/btowc
@@ -6,6 +6,7 @@ lib/btowc.c
m4/btowc.m4
m4/mbrtowc.m4
m4/locale-fr.m4
+m4/codeset.m4
Depends-on:
wchar
diff --git a/modules/c-dtoastr-tests b/modules/c-dtoastr-tests
index 47658c038b..2c2c01dbcb 100644
--- a/modules/c-dtoastr-tests
+++ b/modules/c-dtoastr-tests
@@ -2,6 +2,7 @@ Files:
tests/test-c-dtoastr.c
tests/test-c-dtoastr.sh
m4/locale-fr.m4
+m4/codeset.m4
tests/macros.h
Depends-on:
diff --git a/modules/c-ldtoastr-tests b/modules/c-ldtoastr-tests
index 1c2cfaecc0..00ec113476 100644
--- a/modules/c-ldtoastr-tests
+++ b/modules/c-ldtoastr-tests
@@ -2,6 +2,7 @@ Files:
tests/test-c-ldtoastr.c
tests/test-c-ldtoastr.sh
m4/locale-fr.m4
+m4/codeset.m4
tests/macros.h
Depends-on:
diff --git a/modules/c-snprintf-tests b/modules/c-snprintf-tests
index aeb2c3545c..864c049254 100644
--- a/modules/c-snprintf-tests
+++ b/modules/c-snprintf-tests
@@ -2,6 +2,7 @@ Files:
tests/test-c-snprintf.c
tests/test-c-snprintf.sh
m4/locale-fr.m4
+m4/codeset.m4
tests/macros.h
Depends-on:
diff --git a/modules/c-vasprintf-tests b/modules/c-vasprintf-tests
index 7becd9aa97..7fa34bec54 100644
--- a/modules/c-vasprintf-tests
+++ b/modules/c-vasprintf-tests
@@ -2,6 +2,7 @@ Files:
tests/test-c-vasprintf.c
tests/test-c-vasprintf.sh
m4/locale-fr.m4
+m4/codeset.m4
tests/macros.h
Depends-on:
diff --git a/modules/c-vsnprintf-tests b/modules/c-vsnprintf-tests
index 0b90c6719f..1bdd2d5246 100644
--- a/modules/c-vsnprintf-tests
+++ b/modules/c-vsnprintf-tests
@@ -2,6 +2,7 @@ Files:
tests/test-c-vsnprintf.c
tests/test-c-vsnprintf.sh
m4/locale-fr.m4
+m4/codeset.m4
tests/macros.h
Depends-on:
diff --git a/modules/c-xvasprintf-tests b/modules/c-xvasprintf-tests
index 9d5414d74f..3ad44c9a98 100644
--- a/modules/c-xvasprintf-tests
+++ b/modules/c-xvasprintf-tests
@@ -2,6 +2,7 @@ Files:
tests/test-c-xvasprintf.c
tests/test-c-xvasprintf.sh
m4/locale-fr.m4
+m4/codeset.m4
tests/macros.h
Depends-on:
diff --git a/modules/nl_langinfo-tests b/modules/nl_langinfo-tests
index c48597acca..b44569eb16 100644
--- a/modules/nl_langinfo-tests
+++ b/modules/nl_langinfo-tests
@@ -7,6 +7,7 @@ tests/test-nl_langinfo-mt.c
tests/signature.h
tests/macros.h
m4/locale-fr.m4
+m4/codeset.m4
m4/intl-thread-locale.m4
Depends-on:
diff --git a/modules/stdlib b/modules/stdlib
index 25593a8a5d..b357d385e0 100644
--- a/modules/stdlib
+++ b/modules/stdlib
@@ -5,6 +5,7 @@ Files:
lib/stdlib.in.h
m4/stdlib_h.m4
m4/locale-fr.m4
+m4/codeset.m4
Depends-on:
gen-header