bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in checking for C++ preprocessor


From: Philipp Thomas
Subject: Bug in checking for C++ preprocessor
Date: Thu, 17 Apr 2003 12:36:58 +0200
User-agent: Mutt/1.5.4i

With libtool 1.5 and autoconf 2.57 (haven't tried older versions of
autoconf) the libtool checks fail if no C++ compiler is installed. 
Which in it's current state makes libtool unusable for any environment
where no C++ compiler is installed.

I rather think it's a bug in autoconfs c.m4, as libtool calls AC_PROG_CXXCPP
which in turn requires AC_PROG_CXX but doesn't check if the latter actually
found a C++ compiler and thus fails because no C++ preprocessor is found.

In our case it fails as it finds the /lib/cpp (symlink kept for
compatibility reasons) but cpp then of course fails because it can't find
cc1plus.

So in it's current form libtool isn't useable for us.

Philipp

-- 
Philipp Thomas <address@hidden>
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nuremberg, Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]