Re: configuring sub directories optional

2002-10-30 Thread Eric Siegerman
On Tue, Oct 29, 2002 at 07:16:45PM -0500, Steve M. Robbins wrote: > On Tue, Oct 29, 2002 at 01:52:20PM -0500, Stefan Seefeld wrote: > > AC_CONFIG_SUBDIRS(dirs, [action-if-succeeds], [action-if-fails]) > > > > is exactly what I had in mind. > > If someone gets ambitious, it would be also useful to

HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Techentin, Robert W.
I'm having a bit of trouble configuring for HP-UX 11.00 using the native ANSI C and C++ compilers (B.11.11.04 for C, and B3910B A.03.33 for C++) using Autoconf 2.54 and Automake 1.7. The HP C compiler fails the 'inline' keyword test, as was described on the list back in June (http://mail.gnu.org/p

caching

2002-10-30 Thread Stefan Seefeld
hi there, I'm in the situation where I run the macro AC_PATH_PROG with a program 'foo-config' and a given path, and then, if that failes, I call it again (after some other processing) with a different path. autoconf will silently skip the second test as it has the result of the first still in th

Re: HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Paul Eggert
> From: "Techentin, Robert W." <[EMAIL PROTECTED]> > Date: Wed, 30 Oct 2002 12:51:47 -0600 > > Is ac_cv_c_inline supposed to propogate to CXX? I guess not, now that you've found a useful counterexample. > Is there a way to stop it? You'd need to fix Autoconf to keep track of the two languages s

Re: HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Kevin Ryde
Paul Eggert <[EMAIL PROTECTED]> writes: > > You'd need to fix Autoconf to keep track of the two languages > separately for 'inline'. This should probably be generalized to other > keywords like 'const'. I guess for config.in wrapping them in a #ifndef __cplusplus would do the trick. Wouldn't wor

RE: HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Boehne, Robert
Title: RE: HP-UX 11.0 and native CC and CXX Are there really any C++ compilers that don't support const and inline? -Original Message- From: Kevin Ryde [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 30, 2002 4:27 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: HP-U

Re: HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Ossama Othman
Hi Robert, On Wed, Oct 30, 2002 at 06:05:40PM -0500, Boehne, Robert wrote: > > Are there really any C++ compilers that don't support const and inline? I've never heard of any. Any that do not are probably really busted. -Ossama -- Ossama Othman <[EMAIL PROTECTED]> Distributed Object Computing

Re: HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Kevin Ryde
"Boehne, Robert" <[EMAIL PROTECTED]> writes: > > Are there really any C++ compilers that don't support const and inline? No, the point of the OP's problem was that AC_C_INLINE is based on the C compiler, and sets up a #define that's bogus for C++.

Re: HP-UX 11.0 and native CC and CXX

2002-10-30 Thread Kevin Ryde
I wrote: > > "Boehne, Robert" <[EMAIL PROTECTED]> writes: >> >> Are there really any C++ compilers that don't support const and inline? > > No, the point of the OP's problem was that AC_C_INLINE is based on the > C compiler, and sets up a #define that's bogus for C++. Sorry, you knew that already

Re: caching

2002-10-30 Thread Akim Demaille
> "Stefan" == Stefan Seefeld <[EMAIL PROTECTED]> writes: Stefan> hi there, I'm in the situation where I run the macro Stefan> AC_PATH_PROG with a program 'foo-config' and a given path, and Stefan> then, if that failes, I call it again (after some other Stefan> processing) with a different pat