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.