r25735: make sure we include "config.h" as first header in
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Oct 2007 18:12:23 +0000 (20:12 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:43:34 +0000 (05:43 +0100)
files generated from asn1_compile

metze
(This used to be commit 85f6b42221854618bcc6200d27693827defb13fa)

source4/heimdal_build/asn1_deps.pl

index 06d2b7ae3c57a224bf287bcbc53d4e50d81af076..b80e00d4446152d5524b7210b289a410e1614d20 100755 (executable)
@@ -45,7 +45,7 @@ foreach my $line (@lines) {
                $o_file = "$dirname/asn1_$output.o";
                print "$x_file: $header\n";
                print "$c_file: $dirname/asn1_$output.x\n";
-               print "\t\@cp $x_file $c_file\n\n";
+               print "\t\@echo \"#include \\\"config.h\\\"\" > $c_file && cat $x_file >> $c_file\n\n";
                push @x_files, $x_file;
                push @c_files, $c_file;
                push @o_files, $o_file;