* m4/regex.m4 (gl_REGEX): Include <malloc.h> before testing for
M_CHECK_ACTION.
+2024-10-26 Bruno Haible <bruno@clisp.org>
+
+ regex: Make configure test more maintainable.
+ * m4/regex.m4 (gl_REGEX): Include <malloc.h> before testing for
+ M_CHECK_ACTION.
+
2024-10-26 Bruno Haible <bruno@clisp.org>
pipe-filter-gi: Correct documentation.
-# serial 75
+# serial 76
# Copyright (C) 1996-2001, 2003-2024 Free Software Foundation, Inc.
#
#include <limits.h>
#include <string.h>
+ #if HAVE_MALLOC_H
+ # include <malloc.h> /* defines M_CHECK_ACTION on glibc */
+ #endif
+
#if defined M_CHECK_ACTION || HAVE_DECL_ALARM
# include <signal.h>
# include <unistd.h>
#endif
- #if HAVE_MALLOC_H
- # include <malloc.h>
- #endif
-
#ifdef M_CHECK_ACTION
/* Exit with distinguishable exit code. */
static void sigabrt_no_core (int sig) { raise (SIGTERM); }