]> iEval git - audio-libsamplerate.git/blame - libsamplerate/M4/check_signal.m4
Bump version and update Changes
[audio-libsamplerate.git] / libsamplerate / M4 / check_signal.m4
CommitLineData
8529da43
MG
1dnl @synopsis AC_CHECK_SIGNAL(SIGNAME)
2dnl
3dnl
4dnl @category C
5dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
6dnl @version 1.0 Jul 07 2007
7
8AC_DEFUN([AC_CHECK_SIGNAL],
9[AC_CACHE_CHECK(for $1,
10 ac_cv_signal_$1,
11[
12AC_TRY_LINK([
13#include <signal.h>
14
15], signal($1, SIG_DFL) ;, ac_cv_signal_$1=yes, ac_cv_signal_$1=no)
16
17])
18
19if test "$ac_cv_signal_$1" = yes; then
20 AC_DEFINE(HAVE_$1, 1,
21 [Define if you have signal $1.])
22fi
23])# AC_CHECK_SIGNAL
24
25
26## AC_CHECK_SIGNALS
This page took 0.025977 seconds and 5 git commands to generate.