Problem reported for GNU grep by Evan Miller (Bug#50098).
* m4/c-stack.m4 (gl_C_STACK): Call gl_LIBSIGSEGV before
testing gl_cv_lib_sigsegv.
+2021-08-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ c-stack: fix libsigsegv dependency
+ Problem reported for GNU grep by Evan Miller (Bug#50098).
+ * m4/c-stack.m4 (gl_C_STACK): Call gl_LIBSIGSEGV before
+ testing gl_cv_lib_sigsegv.
+
2021-08-14 Bruno Haible <bruno@clisp.org>
doc: Update for glibc 2.34.
# Written by Paul Eggert.
-# serial 23
+# serial 24
AC_DEFUN([gl_C_STACK],
[
dnl 'c-stack' needs -lsigsegv if and only if the 'sigsegv' module needs it.
if test "$with_libsigsegv" = yes; then
+ gl_LIBSIGSEGV
if test "$gl_cv_lib_sigsegv" = yes; then
AC_SUBST([LIBCSTACK], [$LIBSIGSEGV])
AC_SUBST([LTLIBCSTACK], [$LTLIBSIGSEGV])