[Privoxy-devel] remove warnings for win32 && --disable-pthread
Lee
ler762 at gmail.com
Sun Mar 21 23:22:11 UTC 2021
On 3/21/21, Fabian Keil <fk at fabiankeil.de> wrote:
> Lee <ler762 at gmail.com> wrote on 2021-03-21:
>
>> On 3/21/21, User Git wrote:
>> >
>> > commit bf54b0927201c92a2e44998824cef998eea67cb8
>> > Author: Fabian Keil <fk at fabiankeil.de>
>> > AuthorDate: Thu Mar 18 18:25:15 2021 +0100
>> >
>> > configure: Add another warning in case --disable-pthread is used
>>
>> Posix threads need to be disabled on windows - see w32svrapi.c
> [...]
>> How does this look?
>>
>> $ git diff configure.in
>> diff --git a/configure.in b/configure.in
>> index 3ec78e00..b1527b42 100644
>> --- a/configure.in
>> +++ b/configure.in
>> @@ -459,7 +459,7 @@ AC_ARG_ENABLE(pthread,
>> [ --disable-pthread Don't use POSIX threads (pthreads)],
>> [if test $enableval = no; then
>> # Disable pthreads
>> - if test $have_pthread = yes; then
>> + if test $have_pthread = yes -a $target_type != mingw; then
>
> Looks good to me.
OK - done
Thanks
Lee
More information about the Privoxy-devel
mailing list