[GTK] Remove the enable-debug-feature configuration option
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Feb 2013 17:04:08 +0000 (17:04 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Feb 2013 17:04:08 +0000 (17:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109539

Reviewed by Philippe Normand.

Remove the --enable-debug-feature option from configuration. It doesn't
do anything that --enable-debug doesn't.

* Source/autotools/PrintBuildConfiguration.m4: Remove references to --enable-debug-features.
* Source/autotools/ReadCommandLineArguments.m4: Ditto.
* Source/autotools/SetupAutoconfHeader.m4: Ditto.
* Source/autotools/SetupAutomake.m4: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142634 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/autotools/PrintBuildConfiguration.m4
Source/autotools/ReadCommandLineArguments.m4
Source/autotools/SetupAutoconfHeader.m4
Source/autotools/SetupAutomake.m4

index f8e2634..4ac71d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2013-02-12  Martin Robinson  <mrobinson@igalia.com>
+
+        [GTK] Remove the enable-debug-feature configuration option
+        https://bugs.webkit.org/show_bug.cgi?id=109539
+
+        Reviewed by Philippe Normand.
+
+        Remove the --enable-debug-feature option from configuration. It doesn't
+        do anything that --enable-debug doesn't.
+
+        * Source/autotools/PrintBuildConfiguration.m4: Remove references to --enable-debug-features.
+        * Source/autotools/ReadCommandLineArguments.m4: Ditto.
+        * Source/autotools/SetupAutoconfHeader.m4: Ditto.
+        * Source/autotools/SetupAutomake.m4: Ditto.
+
 2013-02-12  Zan Dobersek  <zdobersek@igalia.com>
 
         Remove ENABLE_XHR_RESPONSE_BLOB handling from various build systems
index 982b1cb..2832f4a 100644 (file)
@@ -6,7 +6,6 @@ WebKit was configured with the following options:
 Build configuration:
  Enable debugging (slow)                                  : $enable_debug
  Compile with debug symbols (slow)                        : $enable_debug_symbols
- Enable debug features (slow)                             : $enable_debug_features
  Enable GCC build optimization                            : $enable_optimizations
  Code coverage support                                    : $enable_coverage
  Unicode backend                                          : $with_unicode_backend
index 470c757..f16a185 100644 (file)
@@ -214,19 +214,6 @@ AC_ARG_ENABLE(accelerated_compositing,
     [enable_accelerated_compositing="auto"])
 AC_MSG_RESULT([$enable_accelerated_compositing])
 
-AC_MSG_CHECKING([whether to enable debug features])
-AC_ARG_ENABLE(debug_features,
-    AC_HELP_STRING([--enable-debug-features], [enable debug features default=no, default=yes for debug builds]),
-    [],
-    [
-        if test "$enable_debug" = "yes"; then
-            enable_debug_features="yes";
-        else
-             enable_debug_features="no";
-         fi
-    ])
-AC_MSG_RESULT([$enable_debug_features])
-
 AC_MSG_CHECKING([whether to enable JIT compilation])
 AC_ARG_ENABLE(jit, AS_HELP_STRING([--enable-jit], [Enable JIT compilation (default: autodetect)]))
 AC_MSG_RESULT([$enable_jit])
index 4820a09..08b583e 100644 (file)
@@ -6,13 +6,13 @@ AC_DEFINE([WTF_USE_SOUP], [1], [ ])
 AC_DEFINE([WTF_USE_WEBP], [1], [ ])
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext catalog name])
 
-if test "$enable_debug_features" = "yes"; then
+if test "$enable_debug" = "yes"; then
     AC_DEFINE([GDK_PIXBUF_DISABLE_DEPRECATED], [1], [ ])
     AC_DEFINE([GDK_DISABLE_DEPRECATED], [1], [ ])
     AC_DEFINE([GTK_DISABLE_DEPRECATED], [1], [ ])
     AC_DEFINE([PANGO_DISABLE_DEPRECATED], [1], [ ])
 else
-    AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
+    AC_DEFINE([NDEBUG], [1], [Define to disable debugging])
 fi
 
 if test "$os_win32" = "no"; then
@@ -68,7 +68,7 @@ fi
 
 if test "$have_gstreamer" = "yes"; then
     AC_DEFINE([WTF_USE_GSTREAMER], [1], [ ])
-    if test "$enable_debug_features" = "yes"; then
+    if test "$enable_debug" = "yes"; then
         AC_DEFINE([GST_DISABLE_DEPRECATED], [1], [ ])
     fi
 
index dafa834..1601cd9 100644 (file)
@@ -53,7 +53,7 @@ AM_CONDITIONAL([USE_GLES2], [test "$enable_gles2" = "yes"])
 AM_CONDITIONAL([USE_GLX], [test "$enable_glx" = "yes"])
 
 # WebKit feature conditionals.
-AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug_features" = "yes"])
+AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
 AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"])
 AM_CONDITIONAL([ENABLE_GAMEPAD],[test "$enable_gamepad" = "yes"])
 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])