From a1feb205ff029b49f34290fd036c8bb842e50f18 Mon Sep 17 00:00:00 2001 From: "steffen.wilberg%web.de" Date: Wed, 27 Sep 2006 21:02:07 +0000 Subject: [PATCH] Bug 353702: rename the enable-canvas and enable-svg switches to disable-canvas and disable-svg since they're both enabled by default. r=bsmedberg git-svn-id: svn://10.0.0.236/trunk@212748 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/configure.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mozilla/configure.in b/mozilla/configure.in index 69906aed346..b00734bdba6 100644 --- a/mozilla/configure.in +++ b/mozilla/configure.in @@ -5671,11 +5671,11 @@ fi dnl ======================================================== dnl Canvas dnl ======================================================== -MOZ_ARG_ENABLE_BOOL(canvas, -[ --enable-canvas Enable html:canvas feature], - MOZ_ENABLE_CANVAS=1, - MOZ_ENABLE_CANVAS= ) -if test "$MOZ_ENABLE_CANVAS"; then +MOZ_ARG_DISABLE_BOOL(canvas, +[ --disable-canvas Disable html:canvas feature], + MOZ_ENABLE_CANVAS=, + MOZ_ENABLE_CANVAS=1 ) +if test -n "$MOZ_ENABLE_CANVAS"; then AC_DEFINE(MOZ_ENABLE_CANVAS) fi AC_SUBST(MOZ_ENABLE_CANVAS) @@ -5683,10 +5683,10 @@ AC_SUBST(MOZ_ENABLE_CANVAS) dnl ======================================================== dnl SVG dnl ======================================================== -MOZ_ARG_ENABLE_BOOL(svg, -[ --enable-svg Enable SVG support], - MOZ_SVG=1, - MOZ_SVG= ) +MOZ_ARG_DISABLE_BOOL(svg, +[ --disable-svg Disable SVG support], + MOZ_SVG=, + MOZ_SVG=1 ) if test -n "$MOZ_SVG"; then AC_DEFINE(MOZ_SVG) fi