[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.13 issue with AC_PROG_CXX
From: |
Alexandre Oliva |
Subject: |
Re: 2.13 issue with AC_PROG_CXX |
Date: |
22 Feb 2001 11:27:25 -0300 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
On Feb 21, 2001, Gray Watson <address@hidden> 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 address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me