waf: add --without-gettext option
authorChristian Ambach <ambi@samba.org>
Tue, 25 Jun 2013 16:37:35 +0000 (18:37 +0200)
committerChristian Ambach <ambi@samba.org>
Fri, 9 Aug 2013 20:46:51 +0000 (22:46 +0200)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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')