summaryrefslogtreecommitdiff
path: root/source3/build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-19 22:35:26 +0200
committerGünther Deschner <gd@samba.org>2010-09-20 10:48:24 -0700
commitc9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d (patch)
tree5d0a522eaad1f50e8c6fdb3d0c4e42d64dad216d /source3/build
parent99d898938c7d656d852e4c91f7534e2cba99c5f8 (diff)
downloadsamba-c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d.tar.gz
samba-c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d.tar.bz2
samba-c9e17edfc6f9dc7f3ae251102dbb7bfcf08a770d.zip
s3-waf: add net.
Guenther
Diffstat (limited to 'source3/build')
-rw-r--r--source3/build/dynconfig.py4
-rw-r--r--source3/build/wscript3
2 files changed, 6 insertions, 1 deletions
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'''