[Top][All Lists]

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

Re: conditionally using libtool

From: Bob Rossi
Subject: Re: conditionally using libtool
Date: Sat, 29 Apr 2006 06:15:49 -0400
User-agent: Mutt/1.5.9i

On Sat, Apr 29, 2006 at 09:09:19AM +0200, Ralf Wildenhues wrote:
> * Bob Rossi wrote on Sat, Apr 29, 2006 at 04:00:03AM CEST:
> > 
> > Can I do something in that says 
> >   if .. 
> >     AM_LIBTOOL
> >   fi;
> > 
> > or is this invalid?
> This is invalid and will break at unfortunate places.
> Use AC_PROG_LIBTOOL unconditionally (who told you to name it
> AM_LIBTOOL?) and conditionalize in  At most, something like
>   AS_IF([condition],
>         [AC_PROG_LIBTOOL])
> may not totally break with upcoming Autoconf-2.60; but I have not tested
> that nor verified it in any way, so consider yourself warned.

Thanks for the advice. This was definatly a typo on my part. I'm using
AC_PROG_LIBTOOL. However, I was burned before by putting a macro in an
'if' statement. I was wondering if it was OK to use AC_PROG_LIBTOOL in
an if statement.

Bob Rossi

reply via email to

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