From c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 19 Sep 2010 22:35:26 +0200 Subject: s3-waf: add net. Guenther --- source3/build/dynconfig.py | 4 +++- source3/build/wscript | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/build') diff --git a/source3/build/dynconfig.py b/source3/build/dynconfig.py index 65798a35ec..7382516e3e 100644 --- a/source3/build/dynconfig.py +++ b/source3/build/dynconfig.py @@ -10,7 +10,8 @@ dir_options = { 'with-lockdir' : [ '${PREFIX}/var/locks', 'where to put lock files' ], 'with-codepagedir' : [ '${PREFIX}/lib/samba', 'where to put codepages' ], 'with-privatedir' : [ '${PREFIX}/private', 'where to put smbpasswd' ], - 'with-cachedir' : [ '${PREFIX}/var/locks', 'where to put temporary cache files' ] + 'with-cachedir' : [ '${PREFIX}/var/locks', 'where to put temporary cache files' ], + 'with-localedir' : [ '${PREFIX}/share/locale', 'Where to put po files' ] } # list of cflags to use for dynconfig.c @@ -37,6 +38,7 @@ dyn_cflags = { 'NTP_SIGND_SOCKET_DIR' : '${NTP_SIGND_SOCKET_DIR}', 'CODEPAGEDIR' : '${CODEPAGEDIR}', 'CACHEDIR' : '${CACHEDIR}', + 'LOCALEDIR' : '${LOCALEDIR}', 'SMB_PASSWD_FILE' : '${PRIVATEDIR}/smbpasswd', } diff --git a/source3/build/wscript b/source3/build/wscript index f27e279d6b..2cbcbe6de1 100644 --- a/source3/build/wscript +++ b/source3/build/wscript @@ -43,6 +43,9 @@ def build(bld): '../dynconfig.c', deps='replace talloc tdb popt', cflags=cflags) + bld.SAMBA_SUBSYSTEM('LOCALE_DIR', + '../localedir.c', + cflags=cflags) def dynconfig_cflags(bld): '''work out the extra CFLAGS for dynconfig.c''' -- cgit