autoconf
[Top][All Lists]
Advanced

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

Re: Missing test for optional libraries?


From: Lars Clausen
Subject: Re: Missing test for optional libraries?
Date: 06 Mar 2002 16:25:33 -0600
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

On Wed, 06 Mar 2002, Raja R. Harinath wrote:
> Hi,
> 
> Dan Kegel <address@hidden> writes:
> 
>> Lars Clausen wrote:
>>> >> Earlier we used hand-built macros to check for Freetype, but since
>>> >> we have to check the version, we now use the AC_CHECK_FT2 macro.
>>> >
>>> > AC_CHECK_FT2 is not part of Autoconf, so possibly this is a problem
>>> > with your definition of this macro, not with Autoconf itself.
>>> 
>>> I know it isn't, the problem is when freetype isn't installed, I still
>>> need to be able to run the configure script.
>>
>> You should be able to run it just fine.  AC_CHECK_FT2 should
>> be expanded when you run 'autoconf'.  It's only at autoconf
>> time that AC_CHECK_FT2's definition needs to be around,
>> and your users should never need to run autoconf.
>>
>> Or so it seems to me.  I'm kind of new at this.
> 
> Yes.  However, it appears Lars may be building code out of CVS, and
> the 'configure' script may not have been checked in.  

Indeed, such is the case.

> In this case, he can't help it, he has to install at least that part of
> the freetype2 package that 'aclocal' would pick up,i.e. freetype2.m4.  I
> guess he can lobby the dia(?) package maintainer to add freetype2.m4 to a
> package local m4macros/ directory.

I am one of the dia developers, with cvs access.  I hadn't considered using
a local m4macros directory, that could solve my problem.  What would happen
if we have that and an installed freetype2.m4, and they are different?  Not
that I think it's likely to happen, though.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



reply via email to

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