aboutsummaryrefslogtreecommitdiffstats
path: root/macros/linger.m4
blob: dfa7c8aea05370dee14f9befae47ace3cb402a1b (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;

main ()
{
    li.l_onoff = 1;
    li.l_linger = 120;
    exit (0);
}
],[
AC_DEFINE(HAVE_STRUCT_LINGER)
av_struct_linger=yes
],[
av_struct_linger=no
],[
av_struct_linger=no
])
AC_MSG_RESULT($av_struct_linger)
])
/commit/www/p5-CatalystX-AppBuilder?id=305f148f482daf30dcf728039d03d019f88344eb'>Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0 * Update WWWSunpoet Po-Chuan Hsieh2018-05-281-1/+1 * Cleanup recently added ports.Mathieu Arnold2016-08-292-5/+4