added --enable-ownerdrawn MSW-only option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c534e69669
commit
6fdf2acccd
63
configure
vendored
63
configure
vendored
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in 47621 2007-07-21 13:09:57Z VZ .
|
||||
# From configure.in Id: configure.in 47623 2007-07-21 16:43:31Z VS .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
|
||||
#
|
||||
@ -1848,6 +1848,7 @@ Optional Features:
|
||||
--enable-icocur use Windows ICO and CUR formats
|
||||
--enable-dccache cache temporary wxDC objects (Win32 only)
|
||||
--enable-ps-in-msw use PS printing in wxMSW (Win32 only)
|
||||
--enable-ownerdrawn use owner drawn controls (Win32 only)
|
||||
--enable-regkey use wxRegKey class (Win32 only)
|
||||
--enable-uxtheme enable support for Windows XP themed look (Win32 only)
|
||||
--enable-wxdib use wxDIB class (Win32 only)
|
||||
@ -15348,6 +15349,59 @@ fi
|
||||
echo "${ECHO_T}$result" >&6; }
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
if test x"$enablestring" = xdisable; then
|
||||
defaultval=yes
|
||||
else
|
||||
defaultval=no
|
||||
fi
|
||||
fi
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
|
||||
echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
|
||||
# Check whether --enable-ownerdrawn was given.
|
||||
if test "${enable_ownerdrawn+set}" = set; then
|
||||
enableval=$enable_ownerdrawn;
|
||||
if test "$enableval" = yes; then
|
||||
wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
|
||||
else
|
||||
wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
|
||||
fi
|
||||
cache=yes
|
||||
|
||||
else
|
||||
|
||||
LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
fi
|
||||
|
||||
wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
eval "$wx_cv_use_ownerdrawn"
|
||||
if test "x$cache" = xyes; then
|
||||
echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
if test x"$enablestring" = xdisable; then
|
||||
if test $wxUSE_OWNER_DRAWN = yes; then
|
||||
result=no
|
||||
else
|
||||
result=yes
|
||||
fi
|
||||
else
|
||||
result=$wxUSE_OWNER_DRAWN
|
||||
fi
|
||||
|
||||
{ echo "$as_me:$LINENO: result: $result" >&5
|
||||
echo "${ECHO_T}$result" >&6; }
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
@ -48692,6 +48746,13 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_OWNER_DRAWN" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define wxUSE_OWNER_DRAWN 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_REGKEY" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define wxUSE_REGKEY 1
|
||||
|
@ -897,6 +897,7 @@ dnl ---------------------------------------------------------------------------
|
||||
|
||||
WX_ARG_FEATURE(dccache, [ --enable-dccache cache temporary wxDC objects (Win32 only)], wxUSE_DC_CACHEING)
|
||||
WX_ARG_FEATURE(ps-in-msw, [ --enable-ps-in-msw use PS printing in wxMSW (Win32 only)], wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
|
||||
WX_ARG_FEATURE(ownerdrawn, [ --enable-ownerdrawn use owner drawn controls (Win32 only)], wxUSE_OWNER_DRAWN)
|
||||
WX_ARG_FEATURE(regkey, [ --enable-regkey use wxRegKey class (Win32 only)], wxUSE_REGKEY)
|
||||
WX_ARG_FEATURE(uxtheme, [ --enable-uxtheme enable support for Windows XP themed look (Win32 only)], wxUSE_UXTHEME)
|
||||
WX_ARG_FEATURE(wxdib, [ --enable-wxdib use wxDIB class (Win32 only)], wxUSE_DIB)
|
||||
@ -7053,6 +7054,10 @@ if test "$wxUSE_DIB" = "yes"; then
|
||||
AC_DEFINE(wxUSE_WXDIB)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_OWNER_DRAWN" = "yes"; then
|
||||
AC_DEFINE(wxUSE_OWNER_DRAWN)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_REGKEY" = "yes"; then
|
||||
AC_DEFINE(wxUSE_REGKEY)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user