* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Use the nocrash module
to suppress core dumps that may well occur on glibc systems.
These core dumps might not be cleaned up automatically, or could
trigger some system core dump handling logic.
* modules/getopt-gnu: Depend on nocrash.
Signed-off-by: Pádraig Brady <P@draigBrady.com>
+2011-07-19 Pádraig Brady <P@draigBrady.com>
+
+ getopt-gnu: suppress core dumps from detection code
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Use the nocrash module
+ to suppress core dumps that may well occur on glibc systems.
+ * modules/getopt-gnu: Depend on nocrash.
+
2011-07-16 Paul Eggert <eggert@cs.ucla.edu>
pthread_sigmask: ensure usleep is declared
[AC_LANG_PROGRAM([[#include <getopt.h>
#include <stddef.h>
#include <string.h>
+ ]GL_NOCRASH[
]], [[
int result = 0;
+
+ nocrash_init();
+
/* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
OSF/1 5.1, Solaris 10. */
Files:
Depends-on:
+nocrash
getopt-posix
configure.ac: