Bob Friesenhahn wrote:
On Wed, 11 Aug 2004, Peter O'Gorman wrote:
Joe Orton wrote:
It always disappoints me to do so too, that's why I'm making this
plea :) The fact that libtool 1.5-based configure scripts fail on
systems
without a C++ compiler is a severe regression which outweighs all the
great features and fixes since 1.4, unfortunately.
I guess I must have seen this report at some point, but I don't
remember having done so :(
It has been reported a number of times, and I believe I expressed on the
list that this was the single most significant bug related to libtool 1.5.
This should fix it. Please confirm.
Peter
--
Peter O'Gorman - http://www.pogma.com
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.46
diff -u -3 -p -u -r1.314.2.46 libtool.m4
--- libtool.m4 4 Aug 2004 14:12:05 -0000 1.314.2.46
+++ libtool.m4 10 Aug 2004 17:24:45 -0000
@@ -2432,10 +2432,18 @@ AC_DEFUN([AC_LIBTOOL_CXX],
# ---------------
AC_DEFUN([_LT_AC_LANG_CXX],
[AC_REQUIRE([AC_PROG_CXX])
-AC_REQUIRE([AC_PROG_CXXCPP])
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
])# _LT_AC_LANG_CXX
+# _LT_AC_PROG_CXXCPP
+# ---------------
+AC_DEFUN([_LT_AC_PROG_CXXCPP],
+[
+if test -n "$CXX" && test "X$CXX" != "Xno"; then
+ AC_PROG_CXXCPP
+fi
+])# _LT_AC_PROG_CXXCPP
# AC_LIBTOOL_F77
# --------------
@@ -2600,7 +2608,7 @@ AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [
AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
[AC_LANG_PUSH(C++)
AC_REQUIRE([AC_PROG_CXX])
-AC_REQUIRE([AC_PROG_CXXCPP])
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool