[Top][All Lists]

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

Re: suggestions about AC_CONFIG_MACRO_DIR

From: Braden McDaniel
Subject: Re: suggestions about AC_CONFIG_MACRO_DIR
Date: Wed, 22 Apr 2009 13:00:25 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2

On 4/22/09 12:13 PM, Lorenzo Bettini wrote:
Braden McDaniel wrote:
On 4/21/09 1:35 PM, Lorenzo Bettini wrote:

I started adding some m4 macros to my program, that I put in the m4
directory in my sources, and that will be installed during the make

I then added

aclocaldir = $(datadir)/aclocal
aclocal_DATA = ax_boost_base.m4 ax_boost_regex.m4

Unless you're Boost, you shouldn't be installing these.

well, but my library needs boost regex library, so I was planning to
write an autoconf macro that not only searches for my library but also
for boost regex library...

If you really want to do that, you need to change the names of the files, the macros themselves, and any public shell variables in the macros so that you do not conflict with versions of these macros someone else might install.

But you really should just use pkg-config instead.

Braden McDaniel                      e-mail: <address@hidden>
<>               Jabber: <address@hidden>

reply via email to

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