aboutsummaryrefslogtreecommitdiffstats
path: root/macros/linger.m4
blob: f1c70603982f8e96151c9632d2987a32ee56352b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dnl
dnl Check for struct linger
dnl
AC_DEFUN([AC_STRUCT_LINGER], [
av_struct_linger=no
AC_MSG_CHECKING(struct linger is available)
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>

struct linger li;

int main ()
{
    li.l_onoff = 1;
    li.l_linger = 120;
    return 0;
}
],[
AC_DEFINE(HAVE_STRUCT_LINGER)
av_struct_linger=yes
],[
av_struct_linger=no
],[
av_struct_linger=no
])
AC_MSG_RESULT($av_struct_linger)
])
ion>
path: root/converters/p5-Convert-Recode
Commit message (Expand)AuthorAgeFilesLines
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-262-2/+1
* Cleanup plistbapt2014-10-201-3/+0
* - add stage supportaz2014-01-302-3/+1
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - convert to the new perl5 frameworkaz2013-09-101-1/+2
* - switch simple inline replacement from perl to sedaz2013-07-251-7/+3