From fc4c633d9f2f6fc1869aa38194585da5c0be1249 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 20 May 2005 23:19:06 +0000 Subject: r6926: More build farm fixes: - Warn about unknown attributes in .mk - Remove more unused functions (This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679) --- source4/build/smb_build/smb_build_h.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source4/build/smb_build/smb_build_h.pm') diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm index f3b0a2b837..e874c77ce8 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/smb_build_h.pm @@ -97,20 +97,21 @@ sub _prepare_smb_build_h($) # $SMB_BUILD_CTX - the global SMB_BUILD context # # $output - the resulting output buffer -sub create_smb_build_h($) +sub create_smb_build_h($$) { my $CTX = shift; + my $file = shift; my $output = "/* autogenerated by config.smb_build.pl */\n"; $output .= _prepare_smb_build_h($CTX); - open(SMB_BUILD_H,"> include/smb_build.h") || die ("Can't open include/smb_build.h\n"); + open(SMB_BUILD_H,"> $file") || die ("Can't open $file\n"); print SMB_BUILD_H $output; close(SMB_BUILD_H); - print "config.smb_build.pl: creating include/smb_build.h\n"; + print "config.smb_build.pl: creating $file\n"; return; } 1; -- cgit