svn commit: samba r25735 - in branches/SAMBA_4_0/source/heimdal_build: .

metze at samba.org metze at samba.org
Thu Oct 25 20:12:23 GMT 2007


Author: metze
Date: 2007-10-25 20:12:23 +0000 (Thu, 25 Oct 2007)
New Revision: 25735

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25735

Log:
make sure we include "config.h" as first header in
files generated from asn1_compile

metze

Modified:
   branches/SAMBA_4_0/source/heimdal_build/asn1_deps.pl


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/asn1_deps.pl
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/asn1_deps.pl	2007-10-25 19:52:37 UTC (rev 25734)
+++ branches/SAMBA_4_0/source/heimdal_build/asn1_deps.pl	2007-10-25 20:12:23 UTC (rev 25735)
@@ -45,7 +45,7 @@
 		$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;



More information about the samba-cvs mailing list