From b54fd3bac110ef80fcb5d7a1686768b8379506c5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Oct 2007 20:12:23 +0200 Subject: r25735: make sure we include "config.h" as first header in files generated from asn1_compile metze (This used to be commit 85f6b42221854618bcc6200d27693827defb13fa) --- source4/heimdal_build/asn1_deps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/heimdal_build/asn1_deps.pl') diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 06d2b7ae3c..b80e00d444 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -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; -- cgit