This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] znc 1.6.0
- From: Alexey Sokolov <alexey+cygwin at asokolov dot org>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 24 Jul 2015 07:42:44 +0100
- Subject: Re: [ITP] znc 1.6.0
- Authentication-results: sourceware.org; auth=none
- References: <55AB5EC2 dot 2060400 at asokolov dot org> <20150719100317 dot GD19825 at calimero dot vinschen dot de> <55ABA522 dot 9000008 at asokolov dot org> <87d1zogku1 dot fsf at Rainer dot invalid> <55ABEC90 dot 3040106 at asokolov dot org> <55ABECDD dot 9040805 at asokolov dot org> <87zj2sezel dot fsf at Rainer dot invalid> <55AC0089 dot 2090304 at asokolov dot org> <20150720074442 dot GJ3864 at calimero dot vinschen dot de> <55AD44E9 dot 8070207 at asokolov dot org> <20150721071221 dot GZ3864 at calimero dot vinschen dot de> <55AED4D4 dot 1040403 at tiscali dot co dot uk> <55AED687 dot 8070607 at asokolov dot org> <55AEDB8E dot 6070507 at asokolov dot org> <55B0213A dot 5070005 at tiscali dot co dot uk> <55B03C16 dot 1060009 at asokolov dot org> <55B0EB09 dot 50402 at cornell dot edu> <55B15377 dot 4090101 at asokolov dot org> <55B156E8 dot 9010301 at asokolov dot org> <55B15C93 dot 9040208 at cornell dot edu>
>> If you add ACLOCAL_FLAGS="-I m4" to znc.cygport, does it fix for you?
>
> Yes. So why didn't your build require that?
I have a hypothesis, but can't prove it without digging autotools sources.
My guess is that you have AX_PTHREAD installed in /usr/share/aclocal (or
in some other directory which is considered by default), and with bigger
#serial than what local m4/ax_pthread.m4 has (17). That's why it doesn't
work for you. But probably aclocal still tries local m4/ directory as
last resort even if "-I m4" is not provided? That's why it could work
for me. By explicitly adding m4/ to include dirs, it looks there earlier.
But this is just a guess.