added wxUSE_REGKEY option

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-21 13:01:28 +00:00
parent ba0c92a67d
commit f77c0fe312
9 changed files with 108 additions and 13 deletions

73
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 47611 2007-07-21 07:31:28Z VZ .
# From configure.in Id: configure.in 47615 2007-07-21 12:56:22Z VZ .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
@@ -1847,8 +1847,9 @@ Optional Features:
--enable-xpm use xpm images (XPM file format)
--enable-icocur use Windows ICO and CUR formats
--enable-dccache cache temporary wxDC objects (Win32 only)
--enable-regkey use wxRegKey class (Win32 only)
--enable-uxtheme enable support for Windows XP themed look (Win32 only)
--enable-wxdib compile wxDIB class (Win32 only)
--enable-wxdib use wxDIB class (Win32 only)
--disable-largefile omit support for large files
--disable-gtktest do not try to compile and run a test GTK+ program
--disable-gtktest Do not try to compile and run a test GTK program
@@ -15293,6 +15294,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}-regkey" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
# Check whether --enable-regkey was given.
if test "${enable_regkey+set}" = set; then
enableval=$enable_regkey;
if test "$enableval" = yes; then
wx_cv_use_regkey='wxUSE_REGKEY=yes'
else
wx_cv_use_regkey='wxUSE_REGKEY=no'
fi
cache=yes
else
LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
fi
eval "$wx_cv_use_regkey"
if test "x$cache" = xyes; then
echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
fi
if test x"$enablestring" = xdisable; then
if test $wxUSE_REGKEY = yes; then
result=no
else
result=yes
fi
else
result=$wxUSE_REGKEY
fi
{ echo "$as_me:$LINENO: result: $result" >&5
echo "${ECHO_T}$result" >&6; }
enablestring=
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
@@ -48583,16 +48637,23 @@ _ACEOF
fi
if test "$wxUSE_UXTHEME" = "yes"; then
if test "$wxUSE_DIB" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_UXTHEME 1
#define wxUSE_WXDIB 1
_ACEOF
fi
if test "$wxUSE_DIB" = "yes"; then
if test "$wxUSE_REGKEY" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_WXDIB 1
#define wxUSE_REGKEY 1
_ACEOF
fi
if test "$wxUSE_UXTHEME" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_UXTHEME 1
_ACEOF
fi