[Top][All Lists]

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

Re: calling AC_CANONICAL_HOST twice?

From: Stepan Kasal
Subject: Re: calling AC_CANONICAL_HOST twice?
Date: Mon, 22 Aug 2005 18:04:05 +0200
User-agent: Mutt/1.4.1i


On Sat, Aug 20, 2005 at 01:04:44PM +0200, Harald Dunkel wrote:
> Noah Misch wrote:
> > 
> > If you currently call AC_CANONICAL_HOST from one of your own macros, replace
> > those calls with `AC_REQUIRE([AC_CANONICAL_HOST])'.  If you call it from 
> > the top
> > level, defun a macro that makes that call and then call your macro.  Like 
> > this:
> > 
> > some_name
> > 
> Would it be possible to rename the existing AC_CANONICAL_HOST
> into _AC_CANONICAL_HOST_STUB, and define a new

I don't think this would be the best solution, because of the known
problems with AC_REQUIRE.

But why is it necessery to use AC_DEFUN_ONCE?  The code is inside a
AC_CACHE_CHECK, so it doesn't matter much if it is expanded several times.

Attached please find a patch.  (Without a changelog entry, sorry.)
OK to commit?


Attachment: autoconf-20050822-canon-once.patch
Description: Text document

reply via email to

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