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 configure.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 Makefile.am. 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. Thanks, Bob Rossi _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf