Re: how does autoconf find g++?
On Thu, Sep 14, 2000 at 04:23:29PM +0200, Michael Weber wrote:
> On Thu, Sep 14, 2000 at 12:19:28 +0200, T.Pospisek's MailLists wrote:
> > xxdiff, uses autoconf, which is looking for the C++ compiler. It finds c++
> > (which is a link into alternatives) and decides it's not g++.
> [...]
> > AM_CONDITIONAL(IS_COMPILER_GCC, test x$CXX = xg++)
>
> How about
>
> AC_PROG_CXX
> AM_CONDITIONAL(IS_COMPILER_GCC, test x$GXX = xyes)
>
> (Cf. autoconf manual)
You can also do "CXX=g++ ./configure"
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: