gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] Two trivial configure/make bugs


From: kautz
Subject: Re: [gnugo-devel] Two trivial configure/make bugs
Date: Sun, 16 Apr 2006 01:28:52 +0200
User-agent: Thunderbird 1.5 (Windows/20051201)

kautz schrieb:
Hi all,

I just filed two bugs at trac:
http://trac.gnugo.org/gnugo/ticket/129
http://trac.gnugo.org/gnugo/ticket/130
Patch supplied for ticket 129, Status changed to "worksforme"

Happy Holidays,
aquarius
--- configure.in        Sat Apr 15 23:00:02 2006
+++ configure_new.in    Sat Apr 15 23:01:12 2006
@@ -545,10 +545,14 @@
   AC_CACHE_CHECK(
        [whether socket support can be compiled],
        gnugo_cv_sockets_supported,
-       AC_TRY_LINK([#include <sys/socket.h>
+       AC_TRY_LINK([#if !defined(_WIN32) && !defined(_WIN32_WCE)
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <netdb.h>],
+#include <netdb.h>
+#else  /* on Windows */
+#include <winsock.h>
+#endif /* on Windows */],
 [[  struct sockaddr_in A;
   struct hostent *H;
   A.sin_family = AF_INET;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]