X-Loop: help-debbugs@HIDDEN
Subject: bug#36342: accept4 detection on illumos needs -lsocket -lnsl
Resent-From: Michal Nowak <mnowak@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sun, 23 Jun 2019 15:19:01 +0000
Resent-Message-ID: <handler.36342.B.15613030831799 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 36342
X-GNU-PR-Package: guile
X-GNU-PR-Keywords:
To: 36342 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15613030831799
(code B ref -1); Sun, 23 Jun 2019 15:19:01 +0000
Received: (at submit) by debbugs.gnu.org; 23 Jun 2019 15:18:03 +0000
Received: from localhost ([127.0.0.1]:54103 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hf4Fn-0000Sv-4W
for submit <at> debbugs.gnu.org; Sun, 23 Jun 2019 11:18:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:38174)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <mnowak@HIDDEN>) id 1hf1S2-00009b-1n
for submit <at> debbugs.gnu.org; Sun, 23 Jun 2019 08:18:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42379)
by lists.gnu.org with esmtp (Exim 4.86_2)
(envelope-from <mnowak@HIDDEN>) id 1hf1Rz-0005kb-B3
for bug-guile@HIDDEN; Sun, 23 Jun 2019 08:18:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE,
URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <mnowak@HIDDEN>) id 1hf1Rp-00053Z-Ke
for bug-guile@HIDDEN; Sun, 23 Jun 2019 08:18:20 -0400
Received: from mx-out2.startmail.com ([145.131.90.155]:44681)
by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <mnowak@HIDDEN>)
id 1hf1Rl-0004pW-OB
for bug-guile@HIDDEN; Sun, 23 Jun 2019 08:18:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com;
s=2017-11; t=1561292291;
bh=rWnxGV30hiw5SPMDXxPF0Tq/fkH7hG44Bde2k2n+xOk=;
h=To:From:Subject:Date:From;
b=ML6Y6p+2c8m//n07J/zCD/v2stqghL0oNz2lDhMUd8PqRKTxi+GfK3WgPzy+44/+C
BC1yapketMcMtMSPYYZY1DcQEFixYU8vbENQuVY2F7IXH/JC9qEc1BW/dMQV6PEQ6U
XWUP3CfGKAkcB+Zl8JdfJvhoJ7BVy8HBIcH6Zk+bNNdQ0ykxLEM8GINHKh8oNgwgUD
2xskoalX0VcadkJ3qP+iMm0YnDR6bijIBag87fr8vvmkhLAdy75kliHYIFoxRwzFk8
JvRN1U2kNu9rBe9ERDKp078aRpEdZoaQ+0XITTpOhFBkJOOWpZBqyoc8pUseL/qZ89
b8EKjpalpC0OQ==
From: Michal Nowak <mnowak@HIDDEN>
Message-ID: <2f3c5921-d3e9-4c06-4a21-826d7ba58bcf@HIDDEN>
Date: Sun, 23 Jun 2019 14:18:10 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 145.131.90.155
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Sun, 23 Jun 2019 11:18:01 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
Hello,
GNU Guile 2.2.5 build fails because accept4 detection on OpenIndiana
2019.04 (illumos distribution) [1] fails due to "-lsocket -lnsl" not
being part of the linking process and the build system then tries to
build it's vendored accept4:
CC accept4.lo
In file included from /usr/include/sys/time.h:462:0,
from ./sys/time.h:39,
from /usr/include/sys/select.h:53,
from ./sys/select.h:36,
from /usr/include/sys/types.h:640,
from ./sys/types.h:28,
from ./sys/socket.h:51,
from accept4.c:20:
./sys/socket.h:1034:1: error: conflicting types for 'accept4'
_GL_FUNCDECL_SYS (accept4, int,
^
In file included from ./sys/socket.h:58:0,
from accept4.c:20:
/usr/include/sys/socket.h:540:12: note: previous declaration of
'accept4' was here
extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t,
int);
^~~~~~~
accept4.c:32:1: error: conflicting types for 'accept4'
accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int
flags)
^~~~~~~
In file included from ./sys/socket.h:58:0,
from accept4.c:20:
/usr/include/sys/socket.h:540:12: note: previous declaration of
'accept4' was here
extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t,
int);
^~~~~~~
This is fixed by LIBS="-lsocket -lnsl" in the build environment.
This was in the past reported both on the guile-user [2] and
openindiana-discuss [3] mailing lists, where you also can see the build
error in full.
Thanks,
Michal
[1] https://illumos.org/man/3socket/accept4
[2] https://lists.gnu.org/archive/html/guile-user/2018-03/msg00006.html
[3]
https://openindiana.org/pipermail/openindiana-discuss/2018-March/021931.html
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Michal Nowak <mnowak@HIDDEN> Subject: bug#36342: Acknowledgement (accept4 detection on illumos needs -lsocket -lnsl) Message-ID: <handler.36342.B.15613030831799.ack <at> debbugs.gnu.org> References: <2f3c5921-d3e9-4c06-4a21-826d7ba58bcf@HIDDEN> X-Gnu-PR-Message: ack 36342 X-Gnu-PR-Package: guile Reply-To: 36342 <at> debbugs.gnu.org Date: Sun, 23 Jun 2019 15:19:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 36342 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 36342: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36342 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#36342: accept4 detection on illumos needs -lsocket -lnsl
Resent-From: Mark H Weaver <mhw@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Fri, 28 Jun 2019 22:36:02 +0000
Resent-Message-ID: <handler.36342.B36342.156176133525941 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36342
X-GNU-PR-Package: guile
X-GNU-PR-Keywords:
To: Michal Nowak <mnowak@HIDDEN>
Cc: bug-gnulib@HIDDEN, 36342 <at> debbugs.gnu.org
Received: via spool by 36342-submit <at> debbugs.gnu.org id=B36342.156176133525941
(code B ref 36342); Fri, 28 Jun 2019 22:36:02 +0000
Received: (at 36342) by debbugs.gnu.org; 28 Jun 2019 22:35:35 +0000
Received: from localhost ([127.0.0.1]:43155 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hgzSx-0006kL-0V
for submit <at> debbugs.gnu.org; Fri, 28 Jun 2019 18:35:35 -0400
Received: from world.peace.net ([64.112.178.59]:37038)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <mhw@HIDDEN>) id 1hgzSs-0006k3-9r
for 36342 <at> debbugs.gnu.org; Fri, 28 Jun 2019 18:35:31 -0400
Received: from mhw by world.peace.net with esmtpsa
(TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
(envelope-from <mhw@HIDDEN>)
id 1hgzSl-0003lA-Qa; Fri, 28 Jun 2019 18:35:23 -0400
From: Mark H Weaver <mhw@HIDDEN>
References: <2f3c5921-d3e9-4c06-4a21-826d7ba58bcf@HIDDEN>
Date: Fri, 28 Jun 2019 18:35:06 -0400
In-Reply-To: <2f3c5921-d3e9-4c06-4a21-826d7ba58bcf@HIDDEN> (Michal
Nowak's message of "Sun, 23 Jun 2019 14:18:10 +0200")
Message-ID: <87sgrtfied.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi Michal,
Michal Nowak <mnowak@HIDDEN> writes:
> GNU Guile 2.2.5 build fails because accept4 detection on OpenIndiana
> 2019.04 (illumos distribution) [1] fails due to "-lsocket -lnsl" not
> being part of the linking process and the build system then tries to
> build it's vendored accept4:
I believe this is an issue in gnulib, because the relevant autoconf
detection code, as well as the replacement implementation that fails to
compile on OpenIndiana, are imported from gnulib.
I've CC'd the bug-gnulib@HIDDEN mailing list, for input from the gnulib
developers.
Thanks for this report,
Mark
> CC accept4.lo
> In file included from /usr/include/sys/time.h:462:0,
> from ./sys/time.h:39,
> from /usr/include/sys/select.h:53,
> from ./sys/select.h:36,
> from /usr/include/sys/types.h:640,
> from ./sys/types.h:28,
> from ./sys/socket.h:51,
> from accept4.c:20:
> ./sys/socket.h:1034:1: error: conflicting types for 'accept4'
> _GL_FUNCDECL_SYS (accept4, int,
> ^
> In file included from ./sys/socket.h:58:0,
> from accept4.c:20:
> /usr/include/sys/socket.h:540:12: note: previous declaration of
> 'accept4' was here
> extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t,
> int);
> ^~~~~~~
> accept4.c:32:1: error: conflicting types for 'accept4'
> accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int
> flags)
> ^~~~~~~
> In file included from ./sys/socket.h:58:0,
> from accept4.c:20:
> /usr/include/sys/socket.h:540:12: note: previous declaration of
> 'accept4' was here
> extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t,
> int);
> ^~~~~~~
>
> This is fixed by LIBS="-lsocket -lnsl" in the build environment.
>
> This was in the past reported both on the guile-user [2] and
> openindiana-discuss [3] mailing lists, where you also can see the
> build error in full.
>
> Thanks,
> Michal
>
> [1] https://illumos.org/man/3socket/accept4
> [2] https://lists.gnu.org/archive/html/guile-user/2018-03/msg00006.html
> [3]
> https://openindiana.org/pipermail/openindiana-discuss/2018-March/021931.html
X-Loop: help-debbugs@HIDDEN
Subject: bug#36342: accept4 detection on illumos needs -lsocket -lnsl
Resent-From: Bruno Haible <bruno@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sat, 29 Jun 2019 00:07:02 +0000
Resent-Message-ID: <handler.36342.B36342.15617667801840 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36342
X-GNU-PR-Package: guile
X-GNU-PR-Keywords:
To: bug-gnulib@HIDDEN
Cc: Mark H Weaver <mhw@HIDDEN>, 36342 <at> debbugs.gnu.org, Michal Nowak <mnowak@HIDDEN>
Received: via spool by 36342-submit <at> debbugs.gnu.org id=B36342.15617667801840
(code B ref 36342); Sat, 29 Jun 2019 00:07:02 +0000
Received: (at 36342) by debbugs.gnu.org; 29 Jun 2019 00:06:20 +0000
Received: from localhost ([127.0.0.1]:43187 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hh0sh-0000TR-4j
for submit <at> debbugs.gnu.org; Fri, 28 Jun 2019 20:06:19 -0400
Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.166]:35035)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <bruno@HIDDEN>) id 1hh0se-0000TF-3a
for 36342 <at> debbugs.gnu.org; Fri, 28 Jun 2019 20:06:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1561766770;
s=strato-dkim-0002; d=clisp.org;
h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:
X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender;
bh=M5zOMF/X/aI3ThABGBwiXhA8mmegZnqdB2E/9UcWT40=;
b=q/OcWYgeJV8eZ00ZYcXkIiCR5DJCsEJZ+ElXO6HIyWFF3DMcxBL+K5fv2pE0SSWLzG
S/MymoarDuaoH/UKZmqWG1V2fuSGFQGhjiBGU+Zcjy432O284MYRvhFJxRCvQGUUqxKn
wUqHZrzFY7vIQZXcifdIaZWC+puxUA5UFkpJrm8eitj/Bku9anBX0FAMrV8vaisAIQ4c
p3XkCAHDi04LhDZOXNfgR6HUgDmfjRZhrBPcMinXcFvlpermHj5UGU4n2yIqLPjssHSH
US9EEZ6PUjH1hwMJckSnaOTtxwL33eHZHisUyfQYExAK0t8ArP+zG29JPJgvxEwz9CKr
spcw==
X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0zJZW"
X-RZG-CLASS-ID: mo00
Received: from bruno.haible.de by smtp.strato.de (RZmta 44.24 DYNA|AUTH)
with ESMTPSA id v018bcv5T066kYx
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH
bits, eq. 15360 bits RSA)) (Client did not present a certificate);
Sat, 29 Jun 2019 02:06:06 +0200 (CEST)
From: Bruno Haible <bruno@HIDDEN>
Date: Sat, 29 Jun 2019 02:06:05 +0200
Message-ID: <3505782.aKLV2fzV26@omega>
User-Agent: KMail/5.1.3 (Linux/4.4.0-151-generic; KDE/5.18.0; x86_64; ; )
In-Reply-To: <87sgrtfied.fsf@HIDDEN>
References: <2f3c5921-d3e9-4c06-4a21-826d7ba58bcf@HIDDEN>
<87sgrtfied.fsf@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Hi Michal and Mark,
> > GNU Guile 2.2.5 build fails because accept4 detection on OpenIndiana
> > 2019.04 (illumos distribution) [1] fails due to "-lsocket -lnsl" not
> > being part of the linking process and the build system then tries to
> > build it's vendored accept4:
>
> I believe this is an issue in gnulib, because the relevant autoconf
> detection code, as well as the replacement implementation that fails to
> compile on OpenIndiana, are imported from gnulib.
>
> I've CC'd the bug-gnulib@HIDDEN mailing list, for input from the gnulib
> developers.
>
> Thanks for this report,
>
> Mark
>
>
> > CC accept4.lo
> > In file included from /usr/include/sys/time.h:462:0,
> > from ./sys/time.h:39,
> > from /usr/include/sys/select.h:53,
> > from ./sys/select.h:36,
> > from /usr/include/sys/types.h:640,
> > from ./sys/types.h:28,
> > from ./sys/socket.h:51,
> > from accept4.c:20:
> > ./sys/socket.h:1034:1: error: conflicting types for 'accept4'
> > _GL_FUNCDECL_SYS (accept4, int,
> > ^
> > In file included from ./sys/socket.h:58:0,
> > from accept4.c:20:
> > /usr/include/sys/socket.h:540:12: note: previous declaration of
> > 'accept4' was here
> > extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t,
> > int);
> > ^~~~~~~
> > accept4.c:32:1: error: conflicting types for 'accept4'
> > accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int
> > flags)
> > ^~~~~~~
> > In file included from ./sys/socket.h:58:0,
> > from accept4.c:20:
> > /usr/include/sys/socket.h:540:12: note: previous declaration of
> > 'accept4' was here
> > extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t,
> > int);
> > ^~~~~~~
> >
> > This is fixed by LIBS="-lsocket -lnsl" in the build environment.
> >
> > This was in the past reported both on the guile-user [2] and
> > openindiana-discuss [3] mailing lists, where you also can see the
> > build error in full.
> >
> > Thanks,
> > Michal
> >
> > [1] https://illumos.org/man/3socket/accept4
> > [2] https://lists.gnu.org/archive/html/guile-user/2018-03/msg00006.html
> > [3]
> > https://openindiana.org/pipermail/openindiana-discuss/2018-March/021931.html
Thanks for the report. This patch fixes it. Pushed. Now, guile needs to pick it
up.
2019-06-28 Bruno Haible <bruno@HIDDEN>
accept4: Fix compilation error on OpenIndiana.
Reported by Michal Nowak <mnowak@HIDDEN>
via Mark H Weaver <mhw@HIDDEN>.
* m4/accept.m4 (gl_FUNC_ACCEPT4): Test whether accept4 is declared, not
whether it exists as a function.
diff --git a/m4/accept4.m4 b/m4/accept4.m4
index b38ce30..9b976fb 100644
--- a/m4/accept4.m4
+++ b/m4/accept4.m4
@@ -1,4 +1,4 @@
-# accept4.m4 serial 2
+# accept4.m4 serial 3
dnl Copyright (C) 2009-2019 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -11,8 +11,11 @@ AC_DEFUN([gl_FUNC_ACCEPT4],
dnl Persuade glibc <sys/socket.h> to declare accept4().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
- AC_CHECK_FUNCS_ONCE([accept4])
- if test $ac_cv_func_accept4 != yes; then
+ AC_CHECK_DECLS([accept4], , , [[
+#include <sys/types.h>
+#include <sys/socket.h>
+]])
+ if test $ac_cv_have_decl_accept4 != yes; then
HAVE_ACCEPT4=0
fi
])
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.