From c0e8144c5d1e402b36ebe04b843eba62e7ab9958 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 9 Aug 2005 03:04:47 +0000 Subject: r9221: Try to merge Heimdal across from lorikeet-heimdal to samba4. This is my first attempt at this, so there may be a few rough edges. Andrew Bartlett (This used to be commit 9a1d2f2fec67930975da856a2d365345cec46216) --- source4/heimdal_build/asn1_deps.pl | 6 +++++- 1 file changed, 5 insertions(+), 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 962aadfdad..11e6bad706 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -7,18 +7,22 @@ use File::Basename; my $file = shift; my $prefix = shift; +my $options = shift; my $x_file, @x_files; my $c_file, @c_files; if (not defined ($prefix)) { $prefix = "asn1"; } $dirname = dirname($file); $basename = basename($file); +if (not defined $options) { + $options = ""; +} my $header = "$dirname/$prefix.h"; print "$header: $file bin/asn1_compile\n"; print "\t\@echo \"Compiling ASN1 file $file\"\n"; -print "\t\@cd $dirname && ../../../bin/asn1_compile $basename $prefix\n\n"; +print "\t\@cd $dirname && ../../../bin/asn1_compile $options $basename $prefix\n\n"; open(IN,$file) or die("Can't open $file: $!"); foreach() { -- cgit