[Top][All Lists]

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

Re: Libtool makes configure scripts check for unneeded compilers

From: Peter Eisentraut
Subject: Re: Libtool makes configure scripts check for unneeded compilers
Date: Wed, 11 Jun 2003 23:05:32 +0200 (CEST)

Albert Chin writes:

> > And when I run it it checks for g++ and g77 and runs the whole libtool
> > test range for those compilers.  Does anyone know why?
> Check the thread from last week. I'll try to post my patch by this
> weekend to fix this.

It seems that the code is already set up to select the right tags
automatically, but it just doesn't work.  In AC_PROG_LIBTOOL:

dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX

This means, if AC_PROG_CXX has already been called, call AC_LIBTOOL_CXX.
Else, change AC_PROG_CXX to include AC_LIBTOOL_CXX automatically, in case
it is called later.  But if AC_PROG_CXX is never called, AC_LIBTOOL_CXX
should also never be called.  But that doesn't happen.  Why?

Peter Eisentraut   address@hidden

reply via email to

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