VOOZH about

URL: https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit

⇱ maint: adjust to GNULIB sigprogcmask changes - gzip.git - gzip


👁 cgit logo
index : gzip.git
gzip
summaryrefslogtreecommitdiff
diff options
authorPaul Eggert <eggert@cs.ucla.edu>2026-04-04 21:53:06 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2026-04-05 13:50:19 -0700
commit0ac3f991f1b495bba6140000028ac5923b53f92b (patch)
tree2d00572d0b5ae15ab37b7ee5a5a85472514c50a6
parent918ba888c44a4e05dbcf9a7981b3235794e94d55 (diff)
maint: adjust to GNULIB sigprogcmask changesHEADmaster
* bootstrap.conf (gnulib_modules): Add sigprocmask, since gzip.c uses it directly. (gnulib_tool_option_extras): Also avoid threadlib, which would otherwise be pulled in by pthread_sigmask. * configure.ac (GNULIB_PTHREAD_SIGMASK_SINGLE_THREAD): Define this instead of defining GNULIB_SIGACTION_SINGLE_THREAD. The latter was a misspelling, and in the meantime Gnulib has evolved to use GNULIB_PTHREAD_SIGMASK_SINGLE_THREAD anyway.
Diffstat
-rw-r--r--bootstrap.conf2
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 9f349c4..922d152 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -53,6 +53,7 @@ readme-release
realloc-posix
savedir
sigaction
+sigprocmask
stat-time
stdcountof-h
strerror
@@ -73,6 +74,7 @@ gnulib_tool_option_extras="\
--avoid getline\
--avoid gnulib-i18n\
--avoid lock\
+ --avoid threadlib\
--avoid rpmatch\
--symlink\
--makefile-name=gnulib.mk\
diff --git a/configure.ac b/configure.ac
index 035e560..2ccd952 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,8 +65,8 @@ gl_INIT
# Note -Wvla is implicitly added by gl_MANYWARN_ALL_GCC
AC_DEFINE([GNULIB_NO_VLA], [1], [Define to 1 to disable use of VLAs])
-AC_DEFINE([GNULIB_SIGACTION_SINGLE_THREAD], [1],
- [Define to 1 if programs call 'sigaction' functions from a single thread.])
+AC_DEFINE([GNULIB_PTHREAD_SIGMASK_SINGLE_THREAD], [1],
+ [Define to 1 if programs call pthread_sigmask from a single thread.])
# gl_GCC_VERSION_IFELSE([major], [minor], [run-if-found], [run-if-not-found])
# ------------------------------------------------
generated by cgit v1.2.3 (git 2.46.0) at 2026-04-10 19:58:31 +0000