[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * configure.ac (additional-checks), tp/Texinfo/XS
From: |
Patrice Dumas |
Subject: |
branch master updated: * configure.ac (additional-checks), tp/Texinfo/XS/configure.ac (additional-checks, DISABLE_ADDITIONAL_CHECKS): add configure --enable-additional-checks and associated DISABLE_ADDITIONAL_CHECKS automake conditional. |
Date: |
Sun, 06 Oct 2024 12:07:21 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 99bbf2c8d9 * configure.ac (additional-checks),
tp/Texinfo/XS/configure.ac (additional-checks, DISABLE_ADDITIONAL_CHECKS): add
configure --enable-additional-checks and associated DISABLE_ADDITIONAL_CHECKS
automake conditional.
99bbf2c8d9 is described below
commit 99bbf2c8d9df58a4bd0475a9df5056fedd559545
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 6 18:07:28 2024 +0200
* configure.ac (additional-checks), tp/Texinfo/XS/configure.ac
(additional-checks, DISABLE_ADDITIONAL_CHECKS): add configure
--enable-additional-checks and associated DISABLE_ADDITIONAL_CHECKS
automake conditional.
* tp/Texinfo/XS/Makefile.am (noinst_PROGRAMS): build teximakehtml only
if DISABLE_ADDITIONAL_CHECKS is not set.
---
ChangeLog | 10 ++++++++++
configure.ac | 6 ++++++
tp/TODO | 2 +-
tp/Texinfo/XS/Makefile.am | 2 ++
tp/Texinfo/XS/configure.ac | 7 +++++++
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index da1f6ea366..393dacb407 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-10-06 Patrice Dumas <pertusus@free.fr>
+
+ * configure.ac (additional-checks), tp/Texinfo/XS/configure.ac
+ (additional-checks, DISABLE_ADDITIONAL_CHECKS): add configure
+ --enable-additional-checks and associated DISABLE_ADDITIONAL_CHECKS
+ automake conditional.
+
+ * tp/Texinfo/XS/Makefile.am (noinst_PROGRAMS): build teximakehtml only
+ if DISABLE_ADDITIONAL_CHECKS is not set.
+
2024-10-06 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/replace_perl_api_call.c (call_setup_collator):
diff --git a/configure.ac b/configure.ac
index 5f3b49e7b8..9b3878c5f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -441,6 +441,12 @@ AC_ARG_WITH([external-libintl-perl],
AC_SUBST([USE_EXTERNAL_LIBINTL])
+AC_ARG_ENABLE([additional-checks],
+ AS_HELP_STRING([--enable-additional-checks], [run tests on non-distributed
components]),
+ [ enable_additional_tests=$enableval],
+ [ enable_additional_tests=no])
+
+
AC_ARG_ENABLE([perl-xs],
AS_HELP_STRING([--enable-perl-xs],[build Perl XS modules for speed
(default: check)]),
[ enable_xs=$enableval],
diff --git a/tp/TODO b/tp/TODO
index 1819ca3351..a0220f7954 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -924,6 +924,6 @@ our_CFLAGS='-g -O0 -Wformat-security -Wstrict-prototypes
-Wall -Wno-parentheses
# some speed penalty
our_CFLAGS='-g -O2 -D_FORTIFY_SOURCE=2 -Wformat-security -Wstrict-prototypes
-Wall -Wno-parentheses -Wno-missing-braces -Wno-unused-parameter
-fstack-protector-all -Wextra -fno-omit-frame-pointer'
our_CFLAGS='-g -O2 -Wformat-security -Wstrict-prototypes -Wall
-Wno-parentheses -Wno-missing-braces -Wno-unused-parameter -Wextra'
-./configure "CFLAGS=$our_CFLAGS" "PERL_EXT_CFLAGS=$our_CFLAGS"
+./configure --enable-additional-checks "CFLAGS=$our_CFLAGS"
"PERL_EXT_CFLAGS=$our_CFLAGS"
unset our_CFLAGS
diff --git a/tp/Texinfo/XS/Makefile.am b/tp/Texinfo/XS/Makefile.am
index d9be187a2c..a4820e5813 100644
--- a/tp/Texinfo/XS/Makefile.am
+++ b/tp/Texinfo/XS/Makefile.am
@@ -537,9 +537,11 @@ ConvertXS_la_LDFLAGS = $(XSLIBS_LDFLAGS) $(LTLIBICONV)
$(LTLIBUNISTRING)
############################################### demonstrator of the API
+if ! DISABLE_ADDITIONAL_CHECKS
if HAVE_ICONV
noinst_PROGRAMS = teximakehtml
endif
+endif
teximakehtml_SOURCES = \
$(C_libtexinfo_sources) \
diff --git a/tp/Texinfo/XS/configure.ac b/tp/Texinfo/XS/configure.ac
index 271b139f10..d1376ad69f 100644
--- a/tp/Texinfo/XS/configure.ac
+++ b/tp/Texinfo/XS/configure.ac
@@ -57,6 +57,13 @@ AC_DEFUN([lookup_perl_conf_values],
[m4_foreach([var], [$1], [lookup_perl_conf(var)])
])
+AC_ARG_ENABLE([additional-checks],
+ AS_HELP_STRING([--enable-additional-checks], [run tests on non-distributed
components]),
+ [ enable_additional_tests=$enableval],
+ [ enable_additional_tests=no])
+
+AM_CONDITIONAL([DISABLE_ADDITIONAL_CHECKS], [test "z$enable_additional_tests"
= zno])
+
AC_ARG_ENABLE([perl-xs],
AS_HELP_STRING([--enable-perl-xs],
[build Perl XS modules for speed (default: yes)]),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * configure.ac (additional-checks), tp/Texinfo/XS/configure.ac (additional-checks, DISABLE_ADDITIONAL_CHECKS): add configure --enable-additional-checks and associated DISABLE_ADDITIONAL_CHECKS automake conditional.,
Patrice Dumas <=