Author: sparky
Date: Fri May 14 17:18:56 2010
New Revision: 11464

Modified:
   toys/tools/cleanbuild/findbr
Log:
- better gcc error check
- resolve automake problems


Modified: toys/tools/cleanbuild/findbr
==============================================================================
--- toys/tools/cleanbuild/findbr        (original)
+++ toys/tools/cleanbuild/findbr        Fri May 14 17:18:56 2010
@@ -229,7 +229,8 @@
        }
                        
 
-       if ( /\S+\.[ch](?:pp|xx)?:\d+:\d+: error: (\S+): No such file or 
directory$/ ) {
+       if ( /\S+\.[ch](?:pp|xx|c)?:\d+:\d+: error: (\S+): No such file or 
directory$/ or
+               /\S+\.[ch](?:pp|xx|c)?:\d+:\d+: fatal error: (\S+): No such 
file or directory$/ ) {
                my $h = $1;
                warn "Looking for C(++) header $h\n";
                poldek_file( "/usr/include*/$h" );
@@ -330,6 +331,17 @@
                add_br( "perl-XML-Parser" );
        }
 
+       if ( m{ (\S+) does not appear in AM_CONDITIONAL$} ) {
+               my $macro = $1;
+               warn "Looking for autotools macro $macro\n";
+               if ( my $br = $ac2br{ $macro } ) {
+                       add_br( $br );
+                       next;
+               } else {
+                       $check_ac = 1;
+               }
+       }
+
        if ( m{configure\[\d+\]: syntax error: }
                        or m{\./configure\[\d+\]: \S+_\S+: not found}
                        or m{./configure\[\d+\]: .*unexpected}
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to