Title: [87819] trunk/Tools
Revision
87819
Author
[email protected]
Date
2011-06-01 10:03:55 -0700 (Wed, 01 Jun 2011)

Log Message

2011-06-01  Martin Robinson  <[email protected]>

        Reviewed by Xan Lopez.

        Print out autogen arguments when they differ from the last set, to help
        with debugging build issues.

        * Scripts/webkitdirs.pm: Print out previous and current build arguments
        when they differ.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (87818 => 87819)


--- trunk/Tools/ChangeLog	2011-06-01 16:58:35 UTC (rev 87818)
+++ trunk/Tools/ChangeLog	2011-06-01 17:03:55 UTC (rev 87819)
@@ -1,3 +1,13 @@
+2011-06-01  Martin Robinson  <[email protected]>
+
+        Reviewed by Xan Lopez.
+
+        Print out autogen arguments when they differ from the last set, to help
+        with debugging build issues.
+
+        * Scripts/webkitdirs.pm: Print out previous and current build arguments
+        when they differ.
+
 2011-06-01  Carlos Garcia Campos  <[email protected]>
 
         Reviewed by Martin Robinson.

Modified: trunk/Tools/Scripts/webkitdirs.pm (87818 => 87819)


--- trunk/Tools/Scripts/webkitdirs.pm	2011-06-01 16:58:35 UTC (rev 87818)
+++ trunk/Tools/Scripts/webkitdirs.pm	2011-06-01 17:03:55 UTC (rev 87819)
@@ -1433,7 +1433,14 @@
     chomp(my $previousArguments = <AUTOTOOLS_ARGUMENTS>);
     close(AUTOTOOLS_ARGUMENTS);
 
-    return $previousArguments ne join(" ", @currentArguments);
+    my $joinedCurrentArguments = join(" ", @currentArguments);
+    if ($previousArguments ne $joinedCurrentArguments) {
+        print "Previous autogen arguments were: $previousArguments\n\n";
+        print "New autogen arguments are: $joinedCurrentArguments\n";
+        return 1;
+    }
+
+    return 0;
 }
 
 sub buildAutotoolsProject($@)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to