From 331aaa52562f0676224f1b00f7e306210797c790 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Jun 2005 23:11:48 +0000 Subject: r7790: Allow remembering more configure-level data (and remember --enable-develop for now). (This used to be commit f385753a5224282dd2c228115622a6eb80624a5a) --- source4/build/m4/check_path.m4 | 2 ++ source4/build/m4/core.m4 | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/build/m4') diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4 index 314a368cf2..5fec1c3f05 100644 --- a/source4/build/m4/check_path.m4 +++ b/source4/build/m4/check_path.m4 @@ -137,6 +137,8 @@ AC_ARG_ENABLE(developer, [ --enable-developer Turn on developer warnings a CFLAGS="${CFLAGS} -g -Wall" developer=yes DEVELOPER_CFLAGS="-Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wdeclaration-after-statement -Wmissing-format-attribute -Wformat=2 -Wno-format-y2k -DDEBUG_PASSWORD -DDEVELOPER" + SMB_INFO_BUILD_ENV="$SMB_INFO_BUILD_ENV + \$SETTINGS{DEVELOPER} = \"YES\";" fi]) debug=no diff --git a/source4/build/m4/core.m4 b/source4/build/m4/core.m4 index 215ca5195e..6471fc9e64 100644 --- a/source4/build/m4/core.m4 +++ b/source4/build/m4/core.m4 @@ -22,6 +22,7 @@ AC_DEFUN([_SMB_BUILD_CORE], $PERL -I$srcdir/build <<\_SMB_ACEOF use strict; +my %SETTINGS; my %INPUT; use smb_build::main; @@ -60,7 +61,7 @@ $SMB_INFO_BINARIES $SMB_INFO_ENABLES -smb_build_main(\%INPUT); +smb_build_main(\%INPUT, \%SETTINGS); _SMB_ACEOF -- cgit