changes for thread safety
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 12 Mar 2010 14:51:47 +0000 (14:51 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 12 Mar 2010 14:51:47 +0000 (14:51 +0000)
cgi-bin/show_status.pl

index 1c363372a74cf3f2689e98e307ff66a2f91b0cf8..f0b6f17d29936f44dc06e7dad8d3f63a3c2fa964 100755 (executable)
@@ -62,6 +62,12 @@ while (my $row = $sth->fetchrow_hashref)
                $row->{build_flags} .= " --enable-integer-datetimes "
                        unless ($row->{build_flags} =~ /--(en|dis)able-integer-datetimes/);
        }
                $row->{build_flags} .= " --enable-integer-datetimes "
                        unless ($row->{build_flags} =~ /--(en|dis)able-integer-datetimes/);
        }
+       # enable-thread-safety is now the default
+       if ($row->{branch} eq 'HEAD' || $row->{branch} gt 'REL8_5_STABLE')
+       {
+               $row->{build_flags} .= " --enable-thread-safety "
+                       unless ($row->{build_flags} =~ /--(en|dis)able-thread-safety/);
+       }
     $row->{build_flags}  =~ s/--((enable|with)-)?//g;
        $row->{build_flags} =~ s/libxml/xml/;
     $row->{build_flags}  =~ s/\S+=\S+//g;
     $row->{build_flags}  =~ s/--((enable|with)-)?//g;
        $row->{build_flags} =~ s/libxml/xml/;
     $row->{build_flags}  =~ s/\S+=\S+//g;