bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool fails without a CXX compiler installed


From: Peter O'Gorman
Subject: Re: libtool fails without a CXX compiler installed
Date: Wed, 25 May 2005 11:59:03 +0900
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Eric Sandall wrote:
Quoting Peter O'Gorman <address@hidden>:
<snip>

Replying to myself... it is still fixed. Please use a newer libtool.
<http://www.opendarwin.org/~pogma/lt_no_cxx.txt>


I was using 1.5.16, will try 1.5.18, thanks. :)

Was also fixed in 1.5.16. If your configure script is calling AC_PROG_CXX then you will have to use a similar workaround to libtool:

pushdef([AC_MSG_ERROR], [CXX=no])
AC_PROG_CXX
popdef([AC_MSG_ERROR])
AM_CONDITIONAL(HAVE_CXX,
[test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  (test "X$CXX" != "Xg++")))])

Note that all the tests are not really necessary, but... I was paranoid.

Horrible, isn't it?

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

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