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:
2
configure
vendored
2
configure
vendored
@@ -7745,6 +7745,7 @@ fi
|
|||||||
eval "$wx_cv_use_threads"
|
eval "$wx_cv_use_threads"
|
||||||
|
|
||||||
|
|
||||||
|
if test "$wxUSE_MSW" = 1 ; then
|
||||||
|
|
||||||
enablestring=
|
enablestring=
|
||||||
defaultval=
|
defaultval=
|
||||||
@@ -7803,6 +7804,7 @@ fi
|
|||||||
|
|
||||||
eval "$wx_cv_use_regkey"
|
eval "$wx_cv_use_regkey"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_GUI" = "yes"; then
|
if test "$wxUSE_GUI" = "yes"; then
|
||||||
|
|
||||||
|
@@ -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)
|
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_ENABLE(iniconf, [ --enable-iniconf use wxIniConfig (Win32 only)], wxUSE_INICONF)
|
||||||
WX_ARG_FEATURE(regkey, [ --enable-regkey use wxRegKey class (Win32 only)], wxUSE_REGKEY)
|
WX_ARG_FEATURE(regkey, [ --enable-regkey use wxRegKey class (Win32 only)], wxUSE_REGKEY)
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_GUI" = "yes"; then
|
if test "$wxUSE_GUI" = "yes"; then
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user