On 11 Sep 2002 at 14:12, Luke Dunstan wrote:

>
>
>
> >From: Soren A <soren_andersen@fastmail.fm>
> >To: mingw-msys@lists.sourceforge.net
> >Subject: [Mingw-msys] Re: $build_os and other Autotools issues
> >Date: Wed, 11 Sep 2002 05:57:06 +0000 (UTC)
> >
> >"Paul G." <pgarceau@attbi.com> wrote around 10 Sep 2002
> >news:3D7E0F32.11640.39BED1@localhost:
> >

[snip]

> > > build_os and target_os are both listed therein. (they are
> > > "environment" variables {snip}
> >
> >No, not on my installation of MSYS. Neither are defined, exported or
> >not. I do not know in what quick way to find out which MSYS release I am
> >using here tonight ...

> >Earnie? Any clarifications? Why does Paul have these in his environment
> >and not I?

            Brain fart...(mine)

Luke wrote:
>
> I don't have these variables in my environment either, so I think Paul is
> mistaken. They are just shell variables used internally by 'configure'.


> For future reference, you can type 'uname -a' to check the MSYS version.
>
> >  `$ sh --version'
> >  GNU bash, version 2.04.0(1)-release (i686-pc-msys)
> >Hmm. Anyway it is a very recent one.
> >
> >Earnie? Any clarifications? Why does Paul have these in his environment
> >and not I?

            Umm...sorry for the confusion...I do not have $target_os or $build_os defined as part of either "Set" command listing or "Export" command listing.

            Typically, my mind autoconverts quite a bit and I do not always document or "itemize" those autoconversions, largely because I prefer brevity to detail overkill.

            To clarify, I was actually talking about a "derivation" from environment variables as opposed to a "definition" of environment variables.  Again, please, forgive the confusion.

> I don't have these variables in my environment either, so I think Paul is
> mistaken. They are just shell variables used internally by 'configure'.
> Please read the message from Mo DeJong:
>

            Will attempt to be more specific, even though it means becoming overly and uncomfortably detailed in my reply.  If it helps, the readers of this list may consider it a "revision"...(something that occurs every day to the OS in my head...;-) )

             Another separate but related question: under what conditions (of
> autotool scripting input, i.e. specific macro calls) are these
>   $build_os
>   $target_os
> going to be defined?

"$build_os" and "$target_os" are both listed for (later derivation) under "set" command and "export" command listing(s).

            Derivation:

            $build_os and $target_os may be derived from the following environment variables:

                        $OS, which provides "$target_os" reference. ("Your Windows Platform")
                        $OSTYPE, which provides "$build_os" reference ("msys")

extract the info you might need ("derive") from the "environment variables"
themselves.

[snip]

            Paul G.