summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-25 20:12:23 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:34 +0100
commitb54fd3bac110ef80fcb5d7a1686768b8379506c5 (patch)
tree3a45727135866fee81a0b825f3429c478a10bfa9
parent5d482b634d601fe15cc64cd2945deb882789c528 (diff)
downloadsamba-b54fd3bac110ef80fcb5d7a1686768b8379506c5.tar.gz
samba-b54fd3bac110ef80fcb5d7a1686768b8379506c5.tar.bz2
samba-b54fd3bac110ef80fcb5d7a1686768b8379506c5.zip
r25735: make sure we include "config.h" as first header in
files generated from asn1_compile metze (This used to be commit 85f6b42221854618bcc6200d27693827defb13fa)
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl2
1 files changed, 1 insertions, 1 deletions
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;