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)
])
div class='path'>path: root/comms/gpredict
Commit message (Expand)AuthorAgeFilesLines
* Remove libcurl.so.7 compatibility link that was added in r374303 totijl2016-12-091-0/+1
* Don't free the struct before free'ing it's member.xride2016-11-081-0/+13
* Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.mat2016-04-011-3/+3
* Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-131-1/+1
* Part 1 of adding USE_GNOME=intltool to ports that require it.kwm2015-08-031-1/+1
* Cleanup plistbapt2014-10-201-9/+0
* - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.htijl2014-09-251-2/+4
* - Now that we have more members in the hamradio team grab thisdb2014-06-181-1/+1
* Support STAGEDIR.vanilla2013-11-182-6/+4
* - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-221-1/+0
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Add an explicit dependency on pkgconfbapt2013-09-031-2/+1
* - Update to 1.3miwi2013-07-15