[vlc-devel] [PATCH] extra/tools: make sure autoconf can access pkg-config macros

Rafaël Carré funman at videolan.org
Wed Nov 30 07:43:31 CET 2011


Le Wed, 30 Nov 2011 00:57:01 +0100,
Jean-Baptiste Kempf <jb at videolan.org> a écrit :

> On Tue, Nov 29, 2011 at 02:49:44PM -0500, Rafaël Carré wrote :
> > If we don't build pkg-config (because a previous installation exists
> > somewhere else), autoconf won't find PKG_* m4 macros and fail to
> > run on packages using them (if they don't ship the macros either)
> 
> OK.

Nope:

(cd pkgconfig; /Users/buildbot/slave/nb-intel-osx-trunk/build/extras/tools/build/bin/autoconf)
/bin/sh: /Users/buildbot/slave/nb-intel-osx-trunk/build/extras/tools/build/bin/autoconf: No such file or directory
make: *** [pkgconfig] Error 127

pkg-config needs autoconf to build, so the real dependency is .pkg-config: .autoconf

.pkg-config needs to be added to NEEDED in bootstrap if we build autoconf (like is made for automake already)

> Best regards,

-- 
Rafaël Carré



More information about the vlc-devel mailing list