[getdata-devel] Bug in configure, with --disable-cplusplus
Scientific Database Format
Brought to you by:
ketiltrout
From: Steve B. <sb...@ph...> - 2011-07-21 17:26:00
|
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 |