summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/smb_build_h.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-20 23:19:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:57 -0500
commitfc4c633d9f2f6fc1869aa38194585da5c0be1249 (patch)
treef6db7156c941da823b40d8323fdfd27ee1ab8af9 /source4/build/smb_build/smb_build_h.pm
parentdfac3f56fb47715349812d48747c4a76cb71294b (diff)
downloadsamba-fc4c633d9f2f6fc1869aa38194585da5c0be1249.tar.gz
samba-fc4c633d9f2f6fc1869aa38194585da5c0be1249.tar.bz2
samba-fc4c633d9f2f6fc1869aa38194585da5c0be1249.zip
r6926: More build farm fixes:
- Warn about unknown attributes in .mk - Remove more unused functions (This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679)
Diffstat (limited to 'source4/build/smb_build/smb_build_h.pm')
-rw-r--r--source4/build/smb_build/smb_build_h.pm7
1 files changed, 4 insertions, 3 deletions
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;