[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 11 Jun 2024 03:46:29 -0400 (EDT) |
branch: master
commit a114cf8a991ee9c49a57bce52642338afd734302
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Jun 11 09:46:17 2024 +0200
Remove check and include of xlocale.h now done in gnulib locale
* tp/Texinfo/XS/configure.ac, tp/Texinfo/XS/main/manipulate_indices.c:
remove test of xlocale.h and explicit include, everything should be
covered by the gnulibe locale module. From Gavin and Bruno.
---
ChangeLog | 8 ++++++++
tp/Texinfo/XS/configure.ac | 3 ---
tp/Texinfo/XS/main/manipulate_indices.c | 4 ----
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e80d03f2e1..c2b67fbc8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-06-10 Patrice Dumas <pertusus@free.fr>
+
+ Remove check and include of xlocale.h now done in gnulib locale
+
+ * tp/Texinfo/XS/configure.ac, tp/Texinfo/XS/main/manipulate_indices.c:
+ remove test of xlocale.h and explicit include, everything should be
+ covered by the gnulibe locale module. From Gavin and Bruno.
+
2024-06-10 Patrice Dumas <pertusus@free.fr>
Add gnulib locale module for XS
diff --git a/tp/Texinfo/XS/configure.ac b/tp/Texinfo/XS/configure.ac
index 7a65b0952b..f9fffdc463 100644
--- a/tp/Texinfo/XS/configure.ac
+++ b/tp/Texinfo/XS/configure.ac
@@ -153,9 +153,6 @@ GL_GNULIB_MDA_PUTENV=0
AM_CONDITIONAL([HAVE_ICONV],
[test "x$am_func_iconv" = "xyes"])
-AC_CHECK_HEADERS(xlocale.h)
-
-
# Do not include Perl configuration values when outputting these variables,
# as advised in the automake manual for CFLAGS and LDFLAGS, which could be
# reset by the user. Here PERL_EXT_CFLAGS and PERL_EXT_LDFLAGS play the
diff --git a/tp/Texinfo/XS/main/manipulate_indices.c
b/tp/Texinfo/XS/main/manipulate_indices.c
index 3f6872613b..9012a3545c 100644
--- a/tp/Texinfo/XS/main/manipulate_indices.c
+++ b/tp/Texinfo/XS/main/manipulate_indices.c
@@ -18,10 +18,6 @@
#include <string.h>
#include <stdio.h>
#include <locale.h>
-/* for locale_t, newlocale... on MacOs */
-#ifdef HAVE_XLOCALE_H
- #include <xlocale.h>
-#endif
#include <ctype.h>
#include "unictype.h"
#include "unistr.h"