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)
])
domc
Commit message (Expand)AuthorAgeFilesLines
* Mark IGNORE on 4.x: the library is built, but cannot be used:thierry2005-05-011-0/+4
* Unbreak on FreeBSD-4.11.thierry2005-04-112-1/+20
* - Update to 0.8.0 (use libmba 0.8.10)barner2005-03-094-46/+53
* Fix build with gcc 3.4arved2004-08-172-4/+10
* BROKEN on 5.x: Does not compile with gcc 3.4.2kris2004-08-161-1/+7
* o Bump $LIB_DEPENDS line to chase expat's shlib version.kuriyama2004-03-141-1/+2
* SIZEify.trevor2004-01-301-0/+1
* Chase the distfile; update MASTER_SITES.adamw2003-05-232-2/+2
* De-pkg-comment.knu2003-02-212-1/+1
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* upgrade to 0.6.0ijliao2002-09-246-58/+37
* move devel/domc to textproc/ijliao2002-09-241-1/+1
* - update to 0.5.8petef2001-12-316-28/+36
* upgrade to 0.5.1ijliao2001-11-245-15/+38
* add domcijliao2001-10-097