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)
])
og/multimedia/mp4v2?h=mate-1.16&id=dc2d5ab321f9eca56487d119be8887949ed87e35'>mp4v2
Commit message (Expand)AuthorAgeFilesLines
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1
* - Add MAKE_JOBS_SAFE to support SMP compilationmm2009-03-251-0/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-2/+2
* - Fix configure step with new devel/nasm (-r is no more, use -v instead)gahr2008-04-151-1/+2
* Update to 1.6.1ahze2007-10-082-6/+8
* Remove always-false/true conditions based on OSVERSION 500000edwin2007-10-041-7/+1
* Update to 1.6ahze2007-09-242-4/+4
* Portlint:mezz2007-03-271-1/+1
* Use libtool port instead of included one to avoid objformat a.out botchkris2007-01-271-0/+1
* - Update to 1.5.0.1ahze2006-06-232-4/+4
* - Transfer MAINTAINER to multimedia@ahze2006-06-101-1/+1
* - Update to 1.5ahze2006-05-122-5/+4
* Remove USE_REINPLACE from ports starting with Medwin2006-05-111-1/+0
* Conversion to a single libtool environment.ade2006-02-232-1/+5