curl-library
Re: [PATCH] add support for pkg-config detection of libidn
Date: Tue, 29 Nov 2011 17:29:02 +0100
> 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?
Mark
Received on 2011-11-29