summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorThomas Nagy <tnagy2pow10@gmail.com>2012-05-17 14:49:08 +0200
committerAndrew Bartlett <abartlet@samba.org>2012-05-18 15:44:43 +1000
commit4626f25b5353c4c648e9403c6593feb2c9a2e347 (patch)
tree6d24484b9318f08a774589d1f9fe9608bfe6c180 /buildtools/wafsamba/wscript
parent975e799e866b4d97b71a7bf3ddabf7c19f8a9f87 (diff)
downloadsamba-4626f25b5353c4c648e9403c6593feb2c9a2e347.tar.gz
samba-4626f25b5353c4c648e9403c6593feb2c9a2e347.tar.bz2
samba-4626f25b5353c4c648e9403c6593feb2c9a2e347.zip
Add include/lib folders from the commandline
By using opt.add_option(..., match=['Checking for library iconv'], dest='iconvdir'), all configuration tests displaying 'Checking for library iconv' will get $(iconvdir)/lib and $(iconvdir)/include
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rwxr-xr-xbuildtools/wafsamba/wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 4db341202e..7bbec946c5 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -77,6 +77,11 @@ def set_options(opt):
help=("private library directory [PREFIX/lib/%s]" % Utils.g_module.APPNAME),
action="store", dest='PRIVATELIBDIR', default=None)
+ opt.add_option('--with-libiconv',
+ help='installation directory for libiconv',
+ action='store', dest='iconv_open', default=None,
+ match = ['Checking for library iconv', 'Checking for iconv_open', 'Checking for header iconv.h'])
+
gr = opt.option_group('developer options')
gr.add_option('-C',