summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript2
-rw-r--r--source3/wscript_build2
2 files changed, 2 insertions, 2 deletions
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',