Make expand-macro.pl scan config.h, if it exists.
authorNicholas Clark <nick@ccl4.org>
Thu, 18 Jun 2009 19:33:09 +0000 (20:33 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 18 Jun 2009 19:33:09 +0000 (20:33 +0100)
Porting/expand-macro.pl

index 2cdaa79..34b76cb 100644 (file)
@@ -32,6 +32,7 @@ if (!(@ARGV = @headers)) {
     while (<$fh>) {
        push @ARGV, $1 if m!^([^/]+\.h)\t!;
     }
+    push @ARGV, 'config.h' if -f 'config.h';
 }
 
 my $header;