summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndriy Syrovenko <andriys@gmail.com>2012-05-26 23:29:44 +0300
committerAndrew Bartlett <abartlet@samba.org>2012-05-27 13:16:47 +1000
commita8f5faa09a8680b982c01223ba3b0b79c8b92d4a (patch)
tree98bab2959ad6abc0ac520d667dbea2eb9cbc0fc0 /buildtools/wafsamba
parentc85f33458fff24c472ad440de3bbc15ee8f94f53 (diff)
downloadsamba-a8f5faa09a8680b982c01223ba3b0b79c8b92d4a.tar.gz
samba-a8f5faa09a8680b982c01223ba3b0b79c8b92d4a.tar.bz2
samba-a8f5faa09a8680b982c01223ba3b0b79c8b92d4a.zip
build: Add option to specify where gettext is (/usr/local by default)
This should help configure script to find gettext on FreeBSD and (possibly) some other systems as well.
Diffstat (limited to 'buildtools/wafsamba')
-rwxr-xr-xbuildtools/wafsamba/wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 7bf6a13fa9..5e1898c435 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -78,9 +78,13 @@ def set_options(opt):
action="store", dest='PRIVATELIBDIR', default=None)
opt.add_option('--with-libiconv',
- help='additional directory to search for for libiconv',
+ help='additional directory to search for libiconv',
action='store', dest='iconv_open', default='/usr/local',
match = ['Checking for library iconv', 'Checking for iconv_open', 'Checking for header iconv.h'])
+ opt.add_option('--with-gettext',
+ 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'])
gr = opt.option_group('developer options')