Re: [getdata-devel] Bug in configure, with --disable-cplusplus
Scientific Database Format
Brought to you by:
ketiltrout
From: D. V. W. <ge...@ke...> - 2011-07-22 00:20:48
|
On Thu, Jul 21, 2011 at 01:25:53PM -0400, Steve Benton wrote: > Hi again, > > I have discovered a bug in the configure script that causes it to fail > when the C++ bindings are set not to build. > > $ ./configure --disable-cplusplus > .....lots of output..... > *** Writing configure output > > configure: error: conditional "am__fastdepCXX" was never defined. > Usually this means the macro was only invoked conditionally. > > > I've traced this to version 0.7.2 where extra calls to AC_PROG_CXX and > AC_PROG_CXX_0 (in configure.ac) were removed, leaving just calls that > are conditionally reached only when the C++ bindings are being built. > Some google searching > (http://sourceware.org/ml/automake/2005-01/msg00037.html) indicates that > maybe these should always be run. > > When I comment out the if statment (see attached diff) then configure > succeeds. > > -Steve Ahhhh... yeah, at one point there were two instances of AC_PROG_CXX in the configure script, one inside the conditional and one outside. I guess I deleted the wrong one. Thanks, -dvw -- D. V. Wiebe ge...@ke... http://getdata.sourceforge.net/ |