File: acinclude.m4

package info (click to toggle)
balsa 2.5.6-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 23,764 kB
  • sloc: ansic: 95,130; sh: 4,221; makefile: 720; awk: 60; xml: 25
file content (21 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
AC_DEFUN([AM_HDR_SIGACTION],
[AC_CACHE_CHECK([for sigaction.h], am_cv_hdr_sigaction,
[AC_TRY_LINK([#include <sigaction.h>],
              [int i = 0;],
              am_cv_hdr_sigaction=yes,
              am_cv_hdr_sigaction=no)])
if test $am_cv_hdr_sigaction = yes; then
   AC_DEFINE(HAVE_SIGACTION_H)
fi
])
              
AC_DEFUN([AM_HDR_SIGSET],
[AC_CACHE_CHECK([for sigset.h], am_cv_hdr_sigset,
[AC_TRY_LINK([#include <sigset.h>],
              [int i = 0;],
              am_cv_hdr_sigset=yes,
              am_cv_hdr_sigset=no)])
if test $am_cv_hdr_sigset = yes; then
   AC_DEFINE(HAVE_SIGSET_H)
fi
])