[libvirt] [PATCH libvirt 1/3] build: do not build shunloadtest if pthread missing

Eric Blake eblake at redhat.com
Wed May 2 18:40:16 UTC 2012


On 05/02/2012 12:38 PM, Eric Blake wrote:
> On 05/02/2012 09:16 AM, Daniel P. Berrange wrote:
>> On Wed, May 02, 2012 at 04:57:41PM +0200, Marc-André Lureau wrote:
>>> ping
>>>
> 
>>
>> ACK, even though it is possible to have pthreads on Windows, libvirt
>> is designed to use native windows threading instead.
> 
> Pushed, and I will review the others in the series as well.

Scratch that, it fails 'make syntax-check':

prohibit_always_true_header_tests
configure.ac:157:AM_CONDITIONAL([HAVE_PTHREAD], [test x"$HAVE_PTHREAD_H"
= x"1"])
maint.mk: do not test the above HAVE_<header>_H symbol(s);
  with the corresponding gnulib module, they are always true
make: *** [sc_prohibit_always_true_header_tests] Error 1

Rather, we should be using the same conditional as threads.h; namely
#ifdef WIN32.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list