Red Hat Bugzilla – Bug 246632
automake needs g++ when using c-only source
Last modified: 2013-04-30 19:36:31 EDT
Description of problem:
I rewritting BIND build schema to autotools and have problems with generated
Version-Release number of selected component (if applicable):
rpm -q automake
only with my snapshot
Steps to Reproduce:
1. dowload snapshot of my work
2. generate configure (aclocal -> automake -> autoconf or autoreconf)
3. run generated configure
./configure dies with
configure: error: conditional "am__fastdepCXX" was never defined.
Usually this means the macro was only invoked conditionally.
good configure script
You could download affected source from
http://people.redhat.com/atkac/bind-9.5.0a6.tar.bz2 . configure.ac is very long
and have many confusions so this could be my mistake. But when I add AC_PROG_CXX
into configure.ac all works as expected.
The tarball mentioned in the description is no longer available on
I do not remmeber details, but I think that the autoconfigury in the tarball was
invalid. So this is not a bug. (Though the error message may not be ideal.)