added wxUSE_SVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
99
configure
vendored
99
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#! /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.
|
||||
#
|
||||
@@ -1050,6 +1050,7 @@ Optional Features:
|
||||
--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
|
||||
@@ -9148,6 +9149,61 @@ 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}-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=
|
||||
@@ -46514,24 +46570,6 @@ _ACEOF
|
||||
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
|
||||
@@ -46609,6 +46647,29 @@ _ACEOF
|
||||
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
|
||||
|
Reference in New Issue
Block a user