On Tue, 25 Apr 2000, Pavel Roskin wrote:

> Hello!
> 
> On Tue, 25 Apr 2000, Mo DeJong wrote:
> 
> > I am still confused about what situation would actually
> > call for AC_CANONICAL_BUILD without also calling
> > AC_CANONICAL_HOST? Also, wouldn't I always need to call
> > AC_CANONICAL_BUILD when I was using AC_CANONICAL_HOST?
> 
> You need AC_CANONICAL_BUILD when
> 
> 1) You want to figure out specific features of the build system without
> actual testing for them. For example, if the actual test requires root
> permissions or crashes the OS occasionally, I would prefer to test if the
> build is running on BadOS without demonstrating how bad it is.
> 
> 2) You want to encode the build system name somewhere in the program. It
> may be nice sometimes just for "management" purposes.
> 
> I don't think AC_CANONICAL_BUILD should be used often.

Ok, I see your point about using AC_CANONICAL_BUILD, but is there
any reason that someone would want to use AC_CANONICAL_HOST without
having it AC_REQUIRE() AC_CANONICAL_BUILD?

Mo Dejong
Red Hat Inc.

Reply via email to