view modules/sigpipe @ 12841:6ff1b1c23f57

Perform the same test for many <math.h> functions.
author Bruno Haible <bruno@clisp.org>
date Sun, 31 Jan 2010 19:40:17 +0100
parents 170726b202f9
children dc9c0e0be44e
line wrap: on
line source

Description:
Emulation of POSIX compatible SIGPIPE behaviour.

Files:
m4/sigpipe.m4

Depends-on:
signal
sigprocmask
stdio
unistd

configure.ac:
gl_SIGNAL_SIGPIPE
dnl Define the C macro GNULIB_SIGPIPE to 1.
gl_MODULE_INDICATOR([sigpipe])
dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1.
AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
GNULIB_SIGNAL_H_SIGPIPE=1
dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1.
AC_REQUIRE([gl_STDIO_H_DEFAULTS])
GNULIB_STDIO_H_SIGPIPE=1
dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1.
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
GNULIB_UNISTD_H_SIGPIPE=1

Makefile.am:

Include:
<signal.h>

License:
LGPL

Maintainer:
Bruno Haible