Dear all,
I am developing an ANSI C based scientific library for which I have
written configure.ac that includes, among everything else, a test for
libtool:
AC_PROG_LIBTOOL
The problem is, this test seems to depend on the presence of C++
compiler, e.g. g++. When ./configuring, it stops with:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Looking at config.log reveals that libtool expects cc1plus:
cpp: installation problem, cannot exec 'cc1plus': No such file or
directory
Now it is true that cc1plus isn't present on my system, but why should
it be, since it comes from g++, whereas my project is plain C? It
doesn't really make sense to have ./configure depend on g++ presence
although the project doesn't need it. I guess this may very well be
libtool's fault, but I thought I'd ask here first.
I'm using libtool 1.5.6 and autoconf 2.59. From browsing through the
archives I found that libtool 2.0 should take care of a similar problem:
http://lists.gnu.org/archive/html/autoconf/2004-10/msg00028.html
but is there at least a temporary fixup for this issue?
Thanks,
Andrej
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf