Re: [libvirt] [PATCH 2/5] build: replace redundant header check with function check

2010-04-29 Thread Eric Blake
On 04/29/2010 01:14 AM, Paolo Bonzini wrote: > On 04/29/2010 05:41 AM, Eric Blake wrote: >> Gnulib guarantees that pthread.h exists, but for now, it is a dummy >> header with no support for most pthread_* functions. Modify our >> use of pthread to use function checks, rather than header checks, >>

Re: [libvirt] [PATCH 2/5] build: replace redundant header check with function check

2010-04-29 Thread Jim Meyering
Eric Blake wrote: > Gnulib guarantees that pthread.h exists, but for now, it is a dummy > header with no support for most pthread_* functions. Modify our > use of pthread to use function checks, rather than header checks, > to determine how much pthread support is present. > > * configure.ac: Opti

Re: [libvirt] [PATCH 2/5] build: replace redundant header check with function check

2010-04-29 Thread Paolo Bonzini
On 04/29/2010 05:41 AM, Eric Blake wrote: Gnulib guarantees that pthread.h exists, but for now, it is a dummy header with no support for most pthread_* functions. Modify our use of pthread to use function checks, rather than header checks, to determine how much pthread support is present. Shou

[libvirt] [PATCH 2/5] build: replace redundant header check with function check

2010-04-28 Thread Eric Blake
Gnulib guarantees that pthread.h exists, but for now, it is a dummy header with no support for most pthread_* functions. Modify our use of pthread to use function checks, rather than header checks, to determine how much pthread support is present. * configure.ac: Optimize function checks. Add ch