[libvirt] [PATCH] build: don't include winsock2.h on cygwin

Eric Blake eblake at redhat.com
Fri Apr 23 17:24:42 UTC 2010


On 04/23/2010 11:12 AM, Eric Blake wrote:
> On 04/23/2010 11:02 AM, Matthias Bolte wrote:
>>> * configure.ac: Drop unnecessary header check.
>>> Reported by Matthias Bolte.
>>> ---
>>> -AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h winsock2.h sched.h termios.h sys/poll.h syslog.h mntent.h net/ethernet.h])
>>> +AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h
>>> +  sys/wait.h sched.h termios.h sys/poll.h syslog.h mntent.h net/ethernet.h])
>>>
>>>  dnl Where are the XDR functions?
>>>  dnl If portablexdr is installed, prefer that.
>>> --
>>> 1.6.6.1
>>>
>>
>> ACK.
> 
> Thanks; pushed.

Apologies for pushing the wrong version.  I'm pushing this followup diff
as obvious, to fix the syntax error I introduced :(

diff --git i/configure.ac w/configure.ac
index deaa697..1c54534 100644
--- i/configure.ac
+++ w/configure.ac
@@ -112,7 +112,7 @@ dnl Availability of various not common threadsafe
functions
 AC_CHECK_FUNCS([strerror_r strtok_r getmntent_r getgrnam_r getpwuid_r])

 dnl Availability of various common headers (non-fatal if missing).
-AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h
+AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h \
   sys/wait.h sched.h termios.h sys/poll.h syslog.h mntent.h
net/ethernet.h])

 dnl Where are the XDR functions?

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100423/79aebacb/attachment-0001.sig>


More information about the libvir-list mailing list