|
From: <tim...@en...> - 2006-05-01 00:35:56
|
> Configuration fails if wxWidgets is disabled: > > lascaux [27] ./configure --disable-wxwidgets > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > [...snip...] > checking for pdflib.h... yes > checking for PDF_begin_pattern in -lpdf... yes > checking for PDF_setdashpattern in -lpdf... yes > checking for PDF_begin_document in -lpdf... yes > checking for multi-byte support in x11... checking for XmbDrawString in > -lX11... yes > configure: error: conditional "am__fastdepCXX" was never defined. > Usually this means the macro was only invoked conditionally. > lascaux [28] The error is pretty explicit. The problem is that I put the following checks in 'if' block : AC_PROG_CXX AC_PROG_CXXCPP I did that because C++ is not needed if the wxWidgets terminal is not compiled. But I have not found any information about such a case on the web. Obviously this doesn't work, so I will have to put them unconditionnally... at the risk of breaking a platform where there's no C++ compiler. Is it acceptable ? Timoth=E9e |