[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning of C++ detection on latest alpha
From: |
Samuel Meder |
Subject: |
Re: Turning of C++ detection on latest alpha |
Date: |
Fri, 15 Mar 2002 00:46:09 -0600 |
User-agent: |
Mutt/1.3.25i |
On Thu, 14 Mar 2002, wrote:
> On Thu, 14 Mar 2002, Kevin Ryde wrote:
>
> > Samuel Meder <address@hidden> writes:
> > >
> > > Passing a empty with_tags does only turn of the GCJ stuff. C++
> > > detection is still done.
> >
> > Oops, I forgot the key is to have AC_PROG_CXX and AC_PROG_CXXCPP
> > expanded, but only executed when desired. The dead hand of AC_REQUIRE
> > I suspect :-).
> >
> > Actual example below. No c++ probes,
> >
> > ./configure
> >
> > unless enabled,
> >
> > ./configure --enable-cxx
> >
> > As I say, dunno if this is the right way, but it gets something like
> > the right effect.
>
>
> Ok that did work. I've looked at it quite a bit and honestly, I don't
> really understand how this works, but maybe I just need a deeper
> understanding of what autoconf does.
>
Actually, in the end that didn't work, it seems to break building
shared libs (don't know why yet). I have to say, this stuff is pretty
fragile.
/Sam