Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 17873
Status: open
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.27
Fixed in: (no value)



Subject: Try to autodetect WXDIR and WXWIN on Win32
On Windows, the installation of WxWindows should be to a pretty predictable location most of the time... Namely C:\wxWidgets-$version and C:\wxWindows-$version. On Win32, if WXWIN and WXDIR are not defined, autodetect the location of these and use them for the WXWIN and WXDIR values, emitting a warning to say you used the autodetected locations and they can be overridden using WXWIN and WXDIR. If you wanted to be even more cautious (although that's probably not necesary in the Win32 case) you could even prompt before you try to autodetect.
On Mon Feb 27 07:25:24 2006, guest wrote: Show quoted text
> On Windows, the installation of WxWindows should be to a pretty > predictable location most of the time... > > Namely C:\wxWidgets-$version and C:\wxWindows-$version. > > On Win32, if WXWIN and WXDIR are not defined, autodetect the location of > these and use them for the WXWIN and WXDIR values, emitting a warning to > say you used the autodetected locations and they can be overridden using > WXWIN and WXDIR. > > If you wanted to be even more cautious (although that's probably not > necesary in the Win32 case) you could even prompt before you try to > autodetect.
The functionality sounds fine. Do you mind submitting a patch? Regards Mattia