I've just spent a good day tracking down a very odd and unreproducible
bug where libtool would fail to install DLLs properly.
It turns out this was caused because we set the CXX and CXXFLAGS for
./configure even if there is no C++ compiler actually installed
(ie. if mingw32-gcc-c++ is not installed). Autoconf and libtool get
very confused by this. It appears they believe you if you claim the
compiler is installed (even though patently nothing works) but then
all of their tests fail and you get a broken libtool.
The attached patch fixes this by setting CXX and CXXFLAGS to the empty
string if the C++ compiler isn't detected. I've also moved the
automatic variables above the C/C++ compiler specific setting, so that
the automatic variables don't override what we are specifically
I'm going to apply this, although at the moment I'm also chasing a
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.