On Feb 21, 2001, Gray Watson <[EMAIL PROTECTED]> wrote:
> Am I missing something?
Yep. In fact, so is libtool. And what we're missing is a feature in
autoconf :-(
I wish all of AC_PROG_CC, AC_PROG_CXX, etc, would have variants or
extra arguments that would cause them to be non-fatal in case a
compiler isn't found. The multi-language libtool, for example, has
optional support for C++ and GCJ. The trick we used was to run:
pushdef([AC_MSG_ERROR], [CXX=no])
AC_PROG_CXX
popdef([AC_MSG_ERROR])
AM_CONDITIONAL(HAVE_CXX, [test "x$CXX" != xno])
But this is gross.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me