unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: guile-devel@gnu.org
Subject: Re: build error on my system (Mac OS 10.4.5)
Date: Thu, 30 Mar 2006 08:28:42 +1100	[thread overview]
Message-ID: <87slp1q6t1.fsf@zip.com.au> (raw)
In-Reply-To: <D2525BEF-DB30-48B5-8D92-DFF9982C0326@lurchi.franken.de> (Michael Tuexen's message of "Wed, 29 Mar 2006 16:35:51 +0200")

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> 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.


[-- Attachment #2: configure.in.socklen_t.diff --]
[-- Type: text/plain, Size: 750 bytes --]

--- 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 <sys/socket.h> does not define.])],
+  [#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#include <sys/socket.h>
+])
+AC_CHECK_TYPE(struct ip_mreq)
+
 GUILE_HEADER_LIBC_WITH_UNISTD
 
 AC_TYPE_GETGROUPS

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

  reply	other threads:[~2006-03-29 21:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-28 21:55 build error on my system (Mac OS 10.4.5) Jay Cotton
2006-03-29  0:34 ` Kevin Ryde
2006-03-29  7:23   ` Michael Tuexen
     [not found]     ` <FBE8E503-00A6-4CFE-AB12-8A7FEA0B1657@fleeingrabbit.com>
2006-03-29 14:35       ` Michael Tuexen
2006-03-29 21:28         ` Kevin Ryde [this message]
2006-03-30  0:11           ` Jay Cotton
2006-03-29 15:01   ` Jay Cotton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87slp1q6t1.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).