Don't check MSW-specific configure options unless targeting MSW

This doesn't really change much as these options are not used anyhow, but
seems tidier.
This commit is contained in:
Vadim Zeitlin 2016-03-13 16:03:28 +01:00
parent 15c1b97786
commit f62d6bf6fd
2 changed files with 4 additions and 0 deletions

2
configure vendored
View File

@ -7745,6 +7745,7 @@ fi
eval "$wx_cv_use_threads"
if test "$wxUSE_MSW" = 1 ; then
enablestring=
defaultval=
@ -7803,6 +7804,7 @@ fi
eval "$wx_cv_use_regkey"
fi
if test "$wxUSE_GUI" = "yes"; then

View File

@ -743,8 +743,10 @@ WX_ARG_FEATURE(protocol_file, [ --enable-protocol-file FILE support in wxProto
WX_ARG_FEATURE(threads, [ --enable-threads use threads], wxUSE_THREADS)
if test "$wxUSE_MSW" = 1 ; then
WX_ARG_ENABLE(iniconf, [ --enable-iniconf use wxIniConfig (Win32 only)], wxUSE_INICONF)
WX_ARG_FEATURE(regkey, [ --enable-regkey use wxRegKey class (Win32 only)], wxUSE_REGKEY)
fi
if test "$wxUSE_GUI" = "yes"; then