From a8f5faa09a8680b982c01223ba3b0b79c8b92d4a Mon Sep 17 00:00:00 2001 From: Andriy Syrovenko Date: Sat, 26 May 2012 23:29:44 +0300 Subject: 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. --- buildtools/wafsamba/wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'buildtools') 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') -- cgit