With-* test in configure (was: wine and RedHat 9)
Rob Hughes
rob at robhughes.com
Fri May 2 10:49:07 CDT 2003
On Fri, 2003-05-02 at 01:53, Shachar Shemesh wrote:
> Rob Hughes wrote:
>
> >Here's a screen shot from a debug message. I'm assuming this uses the
> >standard wine language code?
> >
> >On Thu, 2003-05-01 at 15:54, Sylvain Petreolle wrote:
> >
> >
> >>Huh ? English is the default lang for wine, it shouldnt happen.
> >>Could you give a precise example ? Im using fr_FR.UTF-8 on RH9.
> >>
> >>
> >>
> >>>Most of the pop up dialogs are showing this, but sometimes it's only
> >>>one
> >>>button or the other. LANG is set to
> >>>
> >>>LANG=LANG="en_US.UTF-8", which is the default in RH 8 and 9.
> >>>
> >>>Thanks,
> >>>Rob
> >>>
> >>>
> >>>
> I'm thinking of three possible explanations for this:
>
> 1. Tracing the specific dialog Rob showed, it calls "MessageBoxA",
> which calls "MessageBoxExA" with a language identifier
> "LANG_DEFAULT". According to
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/messageboxex.asp
> the langid parameter is "reserved". Can anyone confirm that there
> is any version of Windows that uses it?
> 2. Even if it did what it was supposed to do, shouldn't the paramter
> at windows/msgbox.c, line 347, say
> "MAKELANG(LANG_NEUTRAL,SUBLANG_DEFAULT)" instead of "LANG_DEFAULT"?
> 3. The English resource don't have "SUBLANG_DEFAULT" for something
> (does not appear to be the case in latest CVS).
>
> Rob - what version of Wine are you using?
> Also, can you please paste here the output of the command "locale"?
I'm running CVS from this past Sunday. Locale output is:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 244 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20030502/0038de23/attachment.pgp
More information about the wine-devel
mailing list