autoconf
[Top][All Lists]
Advanced

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

Re: AC_CANONICAL_HOST called behind my back?


From: Mo DeJong
Subject: Re: AC_CANONICAL_HOST called behind my back?
Date: Sat, 12 May 2001 13:47:32 -0700 (PDT)

On Sat, 12 May 2001, Tim Van Holder wrote:

> > I poked around in the source code a bit more
> > and found that AC_CYGWIN does a AC_REQUIRE([AC_CANONICAL_HOST])
> > and is getting called from my configure.in.
> > 
> > Sure enough, that seemed to be the problem.
> > I made the following modification and my
> > script started working again.

> As AC_CYGWIN says: it is obsolete; you should be using
> AC_CANONICAL_HOST and then checking $host_os to detect
> Cygwin (and the same goes for Mingw32 and EMX). So
> AC_CYGWIN is perfectly justified in AC_REQUIRE'ing
> AC_CANONICAL_HOST, because it can then check $host_os
> and set CYGWIN accordingly.

My point was that the 2.13 version of AC_CYGWIN did
not require AC_CANONICAL_HOST. By adding that AC_REQUIRE()
we are breaking configure.in files that do not use
AC_CANONICAL_HOST. I am saying that the AC_CYGWIN macro
should at least try to be backwards compatible in
this respect. Telling people to add AC_CANONICAL_HOST
along with install.sh, config.guess, and config.sub
is not really an option.

Mo DeJong
Red Hat Inc



reply via email to

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