From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: build error on my system (Mac OS 10.4.5) Date: Thu, 30 Mar 2006 08:28:42 +1100 Message-ID: <87slp1q6t1.fsf@zip.com.au> References: <679A4B61-79BB-49E2-97B0-19E9B063790C@fleeingrabbit.com> <87vetyytpf.fsf@zip.com.au> <414162CF-8F83-4BAD-B7B1-09BFD1A86AB8@lurchi.franken.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1143667784 410 80.91.229.2 (29 Mar 2006 21:29:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2006 21:29:44 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 29 23:29:42 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FOiES-0005lv-NQ for guile-devel@m.gmane.org; Wed, 29 Mar 2006 23:29:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOiES-0002nd-5y for guile-devel@m.gmane.org; Wed, 29 Mar 2006 16:29:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOiDq-0002YA-Eo for guile-devel@gnu.org; Wed, 29 Mar 2006 16:28:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOiDn-0002VK-32 for guile-devel@gnu.org; Wed, 29 Mar 2006 16:28:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOiDm-0002VD-Uz for guile-devel@gnu.org; Wed, 29 Mar 2006 16:28:55 -0500 Original-Received: from [61.8.0.115] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FOiFo-0005t2-MF for guile-devel@gnu.org; Wed, 29 Mar 2006 16:31:01 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (Postfix) with ESMTP id 0527971E23; Thu, 30 Mar 2006 08:28:51 +1100 (EST) Original-Received: from localhost (ppp21CF.dyn.pacific.net.au [61.8.33.207]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k2TKpbPA026566; Thu, 30 Mar 2006 07:51:38 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1FOiDb-0006Ah-00; Thu, 30 Mar 2006 08:28:43 +1100 Original-To: Michael Tuexen Mail-Copies-To: never In-Reply-To: (Michael Tuexen's message of "Wed, 29 Mar 2006 16:35:51 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5830 Archived-At: --=-=-= Michael Tuexen writes: > > The configure script tests for socklen_t in > the wrong way. It must do something like I posted some weeks ago. Oops, that must have gone through to the keeper. The configure change below might do the right thing. --=-=-= Content-Disposition: attachment; filename=configure.in.socklen_t.diff --- configure.in.~1.268.2.4.~ 2006-03-28 09:52:36.000000000 +1100 +++ configure.in 2006-03-30 08:16:14.000000000 +1100 @@ -515,9 +515,6 @@ AC_SUBST([SCM_I_GSC_NEEDS_STDINT_H]) AC_SUBST([SCM_I_GSC_NEEDS_INTTYPES_H]) -AC_CHECK_TYPE(socklen_t, int) -AC_CHECK_TYPE(struct ip_mreq) - AC_HEADER_STDC AC_HEADER_DIRENT AC_HEADER_TIME @@ -532,6 +529,16 @@ sys/utime.h time.h unistd.h utime.h pwd.h grp.h sys/utsname.h \ direct.h]) +AC_CHECK_TYPE(socklen_t, , + [AC_DEFINE_UNQUOTED(socklen_t, int, + [Define to `int' if does not define.])], + [#if HAVE_SYS_TYPES_H +#include +#endif +#include +]) +AC_CHECK_TYPE(struct ip_mreq) + GUILE_HEADER_LIBC_WITH_UNISTD AC_TYPE_GETGROUPS --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel --=-=-=--