#! /bin/sh
-# From configure.in Id: configure.in 47339 2007-07-11 20:03:11Z VZ .
+# From configure.in Id: configure.in 47340 2007-07-11 20:11:37Z VZ .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for wxWidgets 2.9.0.
#
--enable-richtext use wxRichTextCtrl
--enable-graphics_ctx use graphics context 2D drawing API
--enable-postscript use wxPostscriptDC device context (default for gtk+)
+ --enable-svg use wxSVGFileDC device context
--enable-clipboard use wxClipboard class
--enable-dnd use Drag'n'Drop classes
--enable-metafile use win32 metafiles
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}-svg" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6
+ no_cache=0
+ # Check whether --enable-svg or --disable-svg was given.
+if test "${enable_svg+set}" = set; then
+ enableval="$enable_svg"
+
+ if test "$enableval" = yes; then
+ ac_cv_use_svg='wxUSE_SVG=yes'
+ else
+ ac_cv_use_svg='wxUSE_SVG=no'
+ fi
+
+else
+
+ LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
+
+fi;
+
+ eval "$ac_cv_use_svg"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_svg >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test x"$enablestring" = xdisable; then
+ if test $wxUSE_SVG = yes; then
+ result=no
+ else
+ result=yes
+ fi
+ else
+ result=$wxUSE_SVG
+ fi
+
+ echo "$as_me:$LINENO: result: $result" >&5
+echo "${ECHO_T}$result" >&6
+
+
enablestring=
fi
-if test "$wxUSE_POSTSCRIPT" = "yes" ; then
- cat >>confdefs.h <<\_ACEOF
-#define wxUSE_POSTSCRIPT 1
-_ACEOF
-
-fi
-
-cat >>confdefs.h <<\_ACEOF
-#define wxUSE_AFM_FOR_POSTSCRIPT 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
-#define wxUSE_NORMALIZED_PS_FONTS 1
-_ACEOF
-
-
-
if test "$wxUSE_CONSTRAINTS" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_CONSTRAINTS 1
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
fi
+if test "$wxUSE_POSTSCRIPT" = "yes" ; then
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_POSTSCRIPT 1
+_ACEOF
+
+fi
+
+cat >>confdefs.h <<\_ACEOF
+#define wxUSE_AFM_FOR_POSTSCRIPT 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define wxUSE_NORMALIZED_PS_FONTS 1
+_ACEOF
+
+
+if test "$wxUSE_SVG" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_SVG 1
+_ACEOF
+
+fi
if test "$wxUSE_METAFILE" = "yes"; then
WX_ARG_FEATURE(logdialog, [ --enable-logdialog use wxLogDialog], wxUSE_LOGDIALOG)
WX_ARG_FEATURE(webkit, [ --enable-webkit use wxWebKitCtrl (Mac)], wxUSE_WEBKIT)
WX_ARG_FEATURE(richtext, [ --enable-richtext use wxRichTextCtrl], wxUSE_RICHTEXT)
-WX_ARG_FEATURE(graphics_ctx, [ --enable-graphics_ctx use graphics context 2D drawing API], wxUSE_GRAPHICS_CONTEXT)
+WX_ARG_FEATURE(graphics_ctx,[ --enable-graphics_ctx use graphics context 2D drawing API], wxUSE_GRAPHICS_CONTEXT)
WX_ARG_FEATURE(postscript, [ --enable-postscript use wxPostscriptDC device context (default for gtk+)], wxUSE_POSTSCRIPT)
+WX_ARG_FEATURE(svg, [ --enable-svg use wxSVGFileDC device context], wxUSE_SVG)
dnl ---------------------------------------------------------------------------
dnl IPC &c
AC_DEFINE(wxUSE_EXPERIMENTAL_PRINTF)
fi
-dnl ----------------------------------------------------------------
-dnl Register PostScript options for makefiles and setup.h
-dnl ----------------------------------------------------------------
-
-if test "$wxUSE_POSTSCRIPT" = "yes" ; then
- AC_DEFINE(wxUSE_POSTSCRIPT)
-fi
-
-AC_DEFINE(wxUSE_AFM_FOR_POSTSCRIPT)
-
-AC_DEFINE(wxUSE_NORMALIZED_PS_FONTS)
-
dnl ---------------------------------------------------------------------------
dnl big GUI components: MDI, doc/view, printing, help, ...
dnl ---------------------------------------------------------------------------
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
fi
+if test "$wxUSE_POSTSCRIPT" = "yes" ; then
+ AC_DEFINE(wxUSE_POSTSCRIPT)
+fi
+
+AC_DEFINE(wxUSE_AFM_FOR_POSTSCRIPT)
+
+AC_DEFINE(wxUSE_NORMALIZED_PS_FONTS)
+
+if test "$wxUSE_SVG" = "yes"; then
+ AC_DEFINE(wxUSE_SVG)
+fi
dnl ---------------------------------------------------------------------------
dnl wxMetafile availability
# endif
#endif /* wxUSE_SOCKETS */
+#if wxUSE_SVG && !wxUSE_STREAMS
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_SVG requires wxUSE_STREAMS"
+# else
+# undef wxUSE_SVG
+# define wxUSE_SVG 0
+# endif
+#endif /* wxUSE_SVG */
+
#if !wxUSE_VARIANT
# if wxUSE_DATAVIEWCTRL
# ifdef wxABORT_ON_CONFIG_ERROR
#include "wx/string.h"
#include "wx/dc.h"
+#if wxUSE_SVG
+
#define wxSVGVersion wxT("v0100")
#ifdef __BORLANDC__
DECLARE_ABSTRACT_CLASS(wxSVGFileDC)
};
+#endif // wxUSE_SVG
+
#endif // _WX_DCSVG_H_
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
// Include mouse wheel support
// ----------------------------------------------------------------------------
-// postscript support settings
+// wxDC classes for various output formats
// ----------------------------------------------------------------------------
// Set to 1 for PostScript device context.
// Set to 1 to use font metric files in GetTextExtent
#define wxUSE_AFM_FOR_POSTSCRIPT 1
+// Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows
+// to create fiels in SVG (Scalable Vector Graphics) format.
+#define wxUSE_SVG 1
+
// ----------------------------------------------------------------------------
// database classes
// ----------------------------------------------------------------------------
#define wxUSE_AFM_FOR_POSTSCRIPT 0
+#define wxUSE_SVG 0
+
#define wxUSE_ODBC 0
#pragma hdrstop
#endif
+#if wxUSE_SVG
+
#ifndef WX_PRECOMP
#include "wx/image.h"
#endif
#pragma warn .ccc
#endif
+#endif // wxUSE_SVG
+