summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-06-25 18:37:35 +0200
committerKarolin Seeger <kseeger@samba.org>2013-08-20 10:52:15 +0200
commit3b230734d198602657918ef7d257a21facbb0afd (patch)
treec58106b07c648cebeb7bce5605e827af1b970858 /buildtools
parent0f17c8d4252db7b4956733c2d83dac300417bd92 (diff)
downloadsamba-3b230734d198602657918ef7d257a21facbb0afd.tar.gz
waf: add --without-gettext option
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit a742e87b39bed97ac59f5ec8bff9bf3cedf8b68a)
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/wafsamba/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index d115b5f4c62..fe2e51507e7 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -82,6 +82,9 @@ def set_options(opt):
help='additional directory to search for gettext',
action='store', dest='gettext_location', default='/usr/local',
match = ['Checking for library intl', 'Checking for header libintl.h'])
+ opt.add_option('--without-gettext',
+ help=("Disable use of gettext"),
+ action="store_true", dest='disable_gettext', default=False)
gr = opt.option_group('developer options')