cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: buildconf broken

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sun, 27 Nov 2011 15:58:21 +0100

On Sunday 27 November 2011 15:05:51 Tor Arntsen wrote:
> On Sat, Nov 26, 2011 at 17:53, Guenter <lists_at_gknw.net> wrote:
> > see autobuilds:
> > configure.ac:1349: error: possibly undefined macro: PKG_CONFIG_LIBDIR
> > If this token and others are legitimate, please use m4_pattern_allow.
> > See the Autoconf documentation.
> > The autoconf command failed
>
> It's broken by
>
> commit 874855b743bd7e9bbbaebe2834dd281d2b2cea80
> Author: Mark Brand <mabrand_at_mabrand.nl>
> Date: Fri Nov 25 23:00:16 2011 +0100
>
> configure: add support for pkg-config detection of libidn
>
> but I don't see immediately how. It doesn't break everywhere, it seems
> to be depending either on the version of pkg-config installed (and its
> m4 macros). One which fails has pkg-config 0.21, one which is ok has
> pkg-config 0.26. But the latter has newer autotools versions as well.

Here is available a fix for pkg.m4:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398901

... and here is a proposal of a workaround that could be used in configure.ac:

http://old.nabble.com/autoreconf-patch-p29937431.html

... but I do not understand the m4 stuff and have no idea whether such
a workaround would make sense for curl.

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