summaryrefslogtreecommitdiff
path: root/lib/gnulib.mk.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-23 14:59:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-23 15:01:51 -0700
commitdf589d36817a8804d67f133890b2f453aefdf3c1 (patch)
tree0cb06033b33420f78871abe26af3b00cffdc03be /lib/gnulib.mk.in
parent42ec41251584c480ee3286ff369c18629f52a7d5 (diff)
downloademacs-df589d36817a8804d67f133890b2f453aefdf3c1.tar.gz
emacs-df589d36817a8804d67f133890b2f453aefdf3c1.tar.bz2
emacs-df589d36817a8804d67f133890b2f453aefdf3c1.zip
Simplify by using Gnulib sigdescr_np module
Inspired by a straightforward patch by Bruno Haible. * admin/merge-gnulib (GNULIB_MODULES): Add sigdescr_np. * configure.ac: Do not check for sys_siglist or __sys_siglist. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/sigdescr_np.c, m4/sigdescr_np.m4: New files, copied from Gnulib. * src/sysdep.c (sys_siglist, sys_siglist_entries): Remove. (init_signals): Do not initialize sys_siglist. (safe_strsignal): Use sigdescr_np instead of sys_siglist.
Diffstat (limited to 'lib/gnulib.mk.in')
-rw-r--r--lib/gnulib.mk.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index 86eb14383c1..f564d501222 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -136,6 +136,7 @@
# readlinkat \
# regex \
# sig2str \
+# sigdescr_np \
# socklen \
# stat-time \
# std-gnu11 \
@@ -2314,6 +2315,17 @@ EXTRA_libgnu_a_SOURCES += sig2str.c
endif
## end gnulib module sig2str
+## begin gnulib module sigdescr_np
+ifeq (,$(OMIT_GNULIB_MODULE_sigdescr_np))
+
+
+EXTRA_DIST += sigdescr_np.c
+
+EXTRA_libgnu_a_SOURCES += sigdescr_np.c
+
+endif
+## end gnulib module sigdescr_np
+
## begin gnulib module signal-h
ifeq (,$(OMIT_GNULIB_MODULE_signal-h))