autoconf
[Top][All Lists]
Advanced

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

Re: conditional AC_PROG_CXX


From: Kevin Ryde
Subject: Re: conditional AC_PROG_CXX
Date: Wed, 15 Jan 2003 08:19:47 +1000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu)

Karel Kulhavy <address@hidden> writes:
>
> # configure: error: conditional "am__fastdepCXX" was never defined.
> # Usually this means the macro was only invoked conditionally.

Automake appends an AM_CONDITIONAL to AC_PROG_CXX, and is then unhappy
when it's expanded but not actually executed.

You can avoid the problem by adding "no-dependencies" to
AM_INIT_AUTOMAKE, if you don't mind losing the automated dependency
tracking.  Perhaps there's a better way, but this was enough for me.




reply via email to

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