waf: add --without-gettext option
authorChristian Ambach <ambi@samba.org>
Tue, 25 Jun 2013 16:37:35 +0000 (18:37 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Aug 2013 08:53:18 +0000 (10:53 +0200)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a742e87b39bed97ac59f5ec8bff9bf3cedf8b68a)

buildtools/wafsamba/wscript

index d115b5f4c621b8108532ebda88ff970564d798dd..fe2e51507e7bf0bb9274f91efedb1765bddb6750 100755 (executable)
@@ -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')