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)
])
f='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/sysutils?h=gstreamer0.10-removal&id=66c1f2cfcd79932a16a5308e18dfcf2ccf9e3a7d'>sysutils/pear-Cache_Lite
Commit message (Expand)AuthorAgeFilesLines
* Update distinfo and unbreak this portsunpoet2017-06-112-3/+4
* - Update maintainer addressjoneum2017-05-161-1/+1
* - Update WWW: pear.php.net uses https://sunpoet2016-12-131-1/+1
* Pass maintainership of PEAR ports to the submitterjbeich2016-11-041-1/+1
* Reset miwi@'s ports, he stepped down from the Ports Team.rene2016-07-261-1/+1
* - Take Maintainershipmiwi2015-11-26