cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] add support for pkg-config detection of libidn

From: Guenter <lists_at_gknw.net>
Date: Tue, 29 Nov 2011 22:26:48 +0100

Am 29.11.2011 17:29, schrieb Mark Brand:
>
>> I would like to hear comments on the possibility of distributing
>> pkg.m4 with curl. I'm no autotools or m4 expert, but it seems like a
>> possibility to consider. There are version checks in there that I hope
>> allow for graceful failure when a suitable pkg-config is not
>> available. All in the name of not reinventing the wheel..
>
> I went ahead and did some tests after adding pkg.m4 to curl's m4
> directory. This seems to solve the problem for buildconf when pkg-config
> is not installed.
>
> The attached file contains 3 commits. This first adds the necessary
> PKG_PROG_PKG_CONFIG. The 2nd adds pkg.m4. The 3rd reverts the previous
> attempt to solve the problem using m4_pattern_allow.
>
> Guenter: Do mind testing this?
1st of all thanks for your further work on it.
I though believe that adding pkg.m4 to curl is not an option due to the
GPL license it falls under - AFAICT that is not what we want to have in
our sources.
Also Yang has now coded a workaround, and already commited (and I
believe that his approach works - as usual); so lets see what next
autobuilds now show:
http://curl.haxx.se/dev/builds.html
and I assume that most likely the issue is already solved with
Yang'spatch ...

greets, Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-29