Title: [142634] trunk
Revision
142634
Author
[email protected]
Date
2013-02-12 09:04:08 -0800 (Tue, 12 Feb 2013)

Log Message

[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.

Modified Paths

Diff

Modified: trunk/ChangeLog (142633 => 142634)


--- trunk/ChangeLog	2013-02-12 16:59:30 UTC (rev 142633)
+++ trunk/ChangeLog	2013-02-12 17:04:08 UTC (rev 142634)
@@ -1,3 +1,18 @@
+2013-02-12  Martin Robinson  <[email protected]>
+
+        [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  <[email protected]>
 
         Remove ENABLE_XHR_RESPONSE_BLOB handling from various build systems

Modified: trunk/Source/autotools/PrintBuildConfiguration.m4 (142633 => 142634)


--- trunk/Source/autotools/PrintBuildConfiguration.m4	2013-02-12 16:59:30 UTC (rev 142633)
+++ trunk/Source/autotools/PrintBuildConfiguration.m4	2013-02-12 17:04:08 UTC (rev 142634)
@@ -6,7 +6,6 @@
 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

Modified: trunk/Source/autotools/ReadCommandLineArguments.m4 (142633 => 142634)


--- trunk/Source/autotools/ReadCommandLineArguments.m4	2013-02-12 16:59:30 UTC (rev 142633)
+++ trunk/Source/autotools/ReadCommandLineArguments.m4	2013-02-12 17:04:08 UTC (rev 142634)
@@ -214,19 +214,6 @@
     [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])

Modified: trunk/Source/autotools/SetupAutoconfHeader.m4 (142633 => 142634)


--- trunk/Source/autotools/SetupAutoconfHeader.m4	2013-02-12 16:59:30 UTC (rev 142633)
+++ trunk/Source/autotools/SetupAutoconfHeader.m4	2013-02-12 17:04:08 UTC (rev 142634)
@@ -6,13 +6,13 @@
 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 @@
 
 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
 

Modified: trunk/Source/autotools/SetupAutomake.m4 (142633 => 142634)


--- trunk/Source/autotools/SetupAutomake.m4	2013-02-12 16:59:30 UTC (rev 142633)
+++ trunk/Source/autotools/SetupAutomake.m4	2013-02-12 17:04:08 UTC (rev 142634)
@@ -53,7 +53,7 @@
 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"])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to