monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] nvm.stripped failing check for lua


From: Zack Weinberg
Subject: Re: [Monotone-devel] nvm.stripped failing check for lua
Date: Tue, 14 Oct 2008 10:54:40 -0700

On Mon, Oct 13, 2008 at 9:51 PM, Zack Weinberg <address@hidden> wrote:
> I remember writing a bunch of m4 to deal with [varying names of .pc files] 
> but it
> doesn't seem to be on this computer; I'll look on the other one tomorrow.

Found it.  The attached file goes in the m4/ directory, and is used like so:

# All of these libraries can be probed for by some combination of
# pkg-config and foobar-config, but it's not as simple as it ought to
# be, hence the macros.

PKG_PROG_PKG_CONFIG
MTN_3RDPARTY_LIB(botan)
MTN_3RDPARTY_LIB(idn)
MTN_3RDPARTY_LIB(lua)
MTN_3RDPARTY_LIB(netxx)
MTN_3RDPARTY_LIB(pcre)
MTN_3RDPARTY_LIB(sqlite)

MTN_REMOVE_REDUNDANT_LIB_SWITCHES

Some of the logic in the file is specific to the setup on the
library-build branch; in particular, it probably makes more sense in
the .stripped context to make the minimum version requirement for each
library be a second argument to MTN_3RDPARTY_LIB rather than digging
it out of the metadata of the bundled copy.

Aside to Jack Lloyd: It would be nice if botan provided a .pc file as
well as the botan-config executable.

zw

Attachment: thirdparty.m4
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]