summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-20 23:11:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:36 -0500
commit331aaa52562f0676224f1b00f7e306210797c790 (patch)
treea08aea9d0d81a2512f96abd174bc241fa903792d /source4/build/smb_build/makefile.pm
parentb7be627e35b81fb2df8cdd83d129713aa8f0127a (diff)
downloadsamba-331aaa52562f0676224f1b00f7e306210797c790.tar.gz
samba-331aaa52562f0676224f1b00f7e306210797c790.tar.bz2
samba-331aaa52562f0676224f1b00f7e306210797c790.zip
r7790: Allow remembering more configure-level data (and
remember --enable-develop for now). (This used to be commit f385753a5224282dd2c228115622a6eb80624a5a)
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index aba23be2eb..ddbfb7889e 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -737,9 +737,10 @@ sub _prepare_rule_lists($)
# $OUTPUT - the global OUTPUT context
#
# $output - the resulting output buffer
-sub _prepare_makefile_in($)
+sub _prepare_makefile_in($$)
{
my $CTX = shift;
+ my $settings = shift;
my $output;
$output = "########################################\n";
@@ -791,13 +792,14 @@ sub _prepare_makefile_in($)
# $OUTPUT - the global OUTPUT context
#
# $output - the resulting output buffer
-sub create_makefile_in($$)
+sub create_makefile_in($$$)
{
my $CTX = shift;
+ my $settings = shift;
my $file = shift;
open(MAKEFILE_IN,">$file") || die ("Can't open $file\n");
- print MAKEFILE_IN _prepare_makefile_in($CTX);
+ print MAKEFILE_IN _prepare_makefile_in($CTX, $settings);
close(MAKEFILE_IN);
print "config.smb_build.pl: creating $file\n";