Re: mingw regression test fixes - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: mingw regression test fixes
Date
Msg-id 200405031325.i43DPkW11024@candle.pha.pa.us
Whole thread Raw
In response to Re: mingw regression test fixes  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut wrote:
> Claudio Natoli wrote:
> > Peter, did you mean $host_platform by any chance... as originally
> > submitted? I see no use of $build_platform anywhere, and as committed
> > this plain fails.
>
> I meant that $build_platform would be better than `uname`, not that my
> word is to be taken blindly without testing.  But...
>
> >
> > I don't see why there is any need for discussion over this. There are
> > 3 cases statements preceding this one, all of which use
> > $host_platform. The one immediately preceding it does the very same
> > thing for DIFFFLAGS!
>
> ... that is a very good argument for $host_platform as originally
> proposed.

OK, new code, back to original.  :-)

    case $host_platform in
        *-*-mingw32*)
            PWDFLAGS=-W;;
        *)
            PWDFLAGS=;;
    esac

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: win32 service proposal
Next
From: "Magnus Hagander"
Date:
Subject: [PATCHES] Run-as-admin warning for win32