#! /bin/sh
-# From configure.in Id: configure.in 47734 2007-07-26 16:27:29Z VZ .
+# From configure.in Id: configure.in 47742 2007-07-27 03:38:33Z DE .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
--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-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)
echo "${ECHO_T}$result" >&6; }
+ enablestring=
+ defaultval=
+ 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}-" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-... $ECHO_C" >&6; }
+ # Check whether --enable- was given.
+if test "${enable_+set}" = set; then
+ enableval=$enable_;
+ if test "$enableval" = yes; then
+ wx_cv_use_='=yes'
+ else
+ wx_cv_use_='=no'
+ fi
+ cache=yes
+
+else
+
+ cache=no
+ LINE=`grep "^=" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ fi
+
+ wx_cv_use_='=${'DEFAULT_":-$defaultval}"
+
+fi
+
+
+ eval "$wx_cv_use_"
+ if test "x$cache" = xyes; then
+ echo "=$" >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test x"$enablestring" = xdisable; then
+ if test $ = yes; then
+ result=no
+ else
+ result=yes
+ fi
+ else
+ result=$
+ fi
+
+ { echo "$as_me:$LINENO: result: $result" >&5
+echo "${ECHO_T}$result" >&6; }
+ (iniconf, --enable-iniconf use wxIniConfig (Win32 only), wxUSE_INICONF)
+
enablestring=
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
fi
+if test "$wxUSE_INICONF" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_INICONF 1
+_ACEOF
+
+fi
+
if test "$wxUSE_DIB" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_WXDIB 1
dnl ---------------------------------------------------------------------------
WX_ARG_FEATURE(dccache, [ --enable-dccache cache temporary wxDC objects (Win32 only)], wxUSE_DC_CACHEING)
+WX_ARG_ENABLE (iniconf, [ --enable-iniconf use wxIniConfig (Win32 only)], wxUSE_INICONF)
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)
AC_DEFINE(wxUSE_DC_CACHEING)
fi
+if test "$wxUSE_INICONF" = "yes"; then
+ AC_DEFINE(wxUSE_INICONF)
+fi
+
if test "$wxUSE_DIB" = "yes"; then
AC_DEFINE(wxUSE_WXDIB)
fi
# endif
#endif /* !defined(wxUSE_MS_HTML_HELP) */
+#ifndef wxUSE_INICONF
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_INICONF must be defined."
+# else
+# define wxUSE_INICONF 0
+# endif
+#endif /* !defined(wxUSE_INICONF) */
+
#ifndef wxUSE_OLE
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_OLE must be defined."
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef _INICONF_H
-#define _INICONF_H
+#ifndef _WX_MSW_INICONF_H_
+#define _WX_MSW_INICONF_H_
+
+#if wxUSE_INICONF
// ----------------------------------------------------------------------------
// wxIniConfig is a wxConfig implementation which uses MS Windows INI files to
DECLARE_ABSTRACT_CLASS(wxIniConfig)
};
-#endif //_INICONF_H
+#endif // wxUSE_INICONF
+
+#endif //_WX_MSW_INICONF_H_
// Set to 1 to use InkEdit control (Tablet PC), if available
#define wxUSE_INKEDIT 0
+// Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
+//
+// Default is 0.
+//
+// Recommended setting: 0, nobody uses .INI files any more
+#define wxUSE_INICONF 0
+
// ----------------------------------------------------------------------------
// Generic versions of native controls
// ----------------------------------------------------------------------------
// Set to 1 to use InkEdit control (Tablet PC), if available
#define wxUSE_INKEDIT 0
+// Set to 1 to enable .INI files based wxConfig implementation (wxIniConfig)
+//
+// Default is 0.
+//
+// Recommended setting: 0, nobody uses .INI files any more
+#define wxUSE_INICONF 0
+
// ----------------------------------------------------------------------------
// Generic versions of native controls
// ----------------------------------------------------------------------------
#define wxUSE_INKEDIT 0
+#define wxUSE_INICONF 0
+
#define wxUSE_DATEPICKCTRL_GENERIC 0
#pragma hdrstop
#endif
-#if wxUSE_CONFIG
+#if wxUSE_INICONF
#ifndef WX_PRECOMP
#include "wx/msw/wrapwin.h"
return false;
}
-#endif // wxUSE_CONFIG
+#endif // wxUSE_INICONF