[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: conditionally compiling C++ code
From: |
Ronald Landheer-Cieslak |
Subject: |
Re: conditionally compiling C++ code |
Date: |
Mon, 28 Apr 2003 14:26:19 +0200 (CEST) |
On Sat, 26 Apr 2003, Steve M. Robbins wrote:
> On Fri, Apr 25, 2003 at 11:46:38AM +0200, Ronald Landheer-Cieslak wrote:
> > On Thu, 24 Apr 2003, Steve M. Robbins wrote:
> > > On Thu, Apr 24, 2003 at 01:53:54PM +0200, Ronald Landheer-Cieslak wrote:
> > > > Other than that, the mere knowledge of a compiler being available
> > > > should
> > > > not, IMHO, have any impact on the behaviour of any program
> > > One wouldn't expect that it change the behaviour of a program.
> > > But it is convenient to build optional C++ modules of a project when
> > > C++ is available, and not otherwise. Isn't that what this discussion
> > > is about?
> > As I understood it, the user has the option to not use the C++ compiler,
> > even if available (hence the need to run AC_PROG_CXX optionnaly).
> OK. That is different from what I was thinking about.
> > or, as AC_PROG_CXX can't be run optionally:
> > * AC_PROG_CXX
> > ? do we have a C++ compiler
> > + ? do we want to use it
> > | + * compile C++ files
> > But, of course, the third algorithm just works around a bug in autoconf
> > and does a check that might never be used.
> But this third way doesn't work! AC_PROG_CXX fails if there is no C++
> compiler and configure aborts.
Which, IMHO, is a bug.
> The lack of a nonfatal check for C++ is the cause of my complaint,
> too.
And I agree with you - let'as complain together :)
rlc
- conditionally compiling C++ code, Keith Bostic, 2003/04/21
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/23
- Re: conditionally compiling C++ code, Thomas Dickey, 2003/04/23
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/24
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/24
- Re: conditionally compiling C++ code, Steve M. Robbins, 2003/04/24
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/25
- Re: conditionally compiling C++ code, Steve M. Robbins, 2003/04/26
- Re: conditionally compiling C++ code,
Ronald Landheer-Cieslak <=
- Re: conditionally compiling C++ code, Peter Eisentraut, 2003/04/28
- Re: conditionally compiling C++ code, Thomas Dickey, 2003/04/28
- Re: conditionally compiling C++ code, Bob Proulx, 2003/04/28
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/29
- Re: conditionally compiling C++ code, Patrick Welche, 2003/04/29
- Re: conditionally compiling C++ code, Sander Niemeijer, 2003/04/29
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/29
- Re: conditionally compiling C++ code, Thomas E. Dickey, 2003/04/29
- Re: conditionally compiling C++ code, Ronald Landheer-Cieslak, 2003/04/30
- Re: conditionally compiling C++ code, Patrick Welche, 2003/04/29