From b2546ee5571e644d3cb784f33517bf9f28c134d7 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 25 May 2010 23:53:04 +0200 Subject: s3-waf: Don't hardcode the name of the awk executable in wscript_build --- source3/wscript | 2 ++ source3/wscript_build | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index 08044ecef7..3e290c8473 100644 --- a/source3/wscript +++ b/source3/wscript @@ -323,6 +323,8 @@ updwtmp updwtmpx utimensat vsyslog _write __write __xstat conf.env.build_winbind = True conf.DEFINE('WITH_WINBIND', '1') + conf.find_program('awk', var='AWK') + #FIXME: Should just be set when krb5 and ldap requirements are fulfilled if Options.options.with_ads: conf.DEFINE('WITH_ADS', '1') diff --git a/source3/wscript_build b/source3/wscript_build index 72ff748fbe..2c74bf104a 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -773,8 +773,6 @@ EVTLOGADM_SRC = '''${EVTLOGADM_SRC0} LIBS='ICONV' -bld.env.AWK = 'gawk' - bld.SAMBA_GENERATOR('build_options', source='include/config.h script/mkbuildoptions.awk', target='smbd/build_options.c', -- cgit