Re: Conditionals in autoconf/make



On Nov 27, 1999, Tom Tromey <tromey@cygnus.com> wrote:
> 
> No.  You can't have a configure substitution in a _SOURCES variable.
> The next automake will warn about this.
> 
> John> Am I going about this in the wrong way?  It seems like this is
> John> something that would have come up before.  What's the officially
> John> encouraged way?  I did notice AM_CONDITIONAL, but that looks
> John> more geared towards command-line configure options.
> 
> AM_CONDITIONAL is the best way.

Thanks!  I was looking at things in a different light than I should
have, trying to embed AM_CONDITIONAL inside AC_CHECK_LIB rather than
setting variables in AC_CHECK_LIB and testing them outside with
AM_CONDITIONAL.

So yep, thanks for the tip.  Got it working.

John



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