summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-08-02 11:29:10 +0200
committerMichael Adam <obnox@samba.org>2013-04-29 13:05:59 +0200
commit86f88ee7b074fc8193a445e0c8ece58c3058b6c3 (patch)
tree118ae8646ba54ec6b2d39f164a11bd505f2f2c75 /source3/wscript
parent5e0f4be8e2123ccf9f6beece95b187cd2676ff24 (diff)
downloadsamba-86f88ee7b074fc8193a445e0c8ece58c3058b6c3.tar.gz
samba-86f88ee7b074fc8193a445e0c8ece58c3058b6c3.tar.xz
samba-86f88ee7b074fc8193a445e0c8ece58c3058b6c3.zip
waf: Create a better wscript for finding ncurses.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/wscript b/source3/wscript
index 4fbc19158d8..28fa11f2276 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1714,14 +1714,7 @@ main() {
conf.DEFINE('HAVE_CEPH', '1')
if Options.options.with_regedit:
- #XXX these checks might need to be expanded
- ncurses = conf.CHECK_FUNCS_IN('initscr', 'ncurses', headers='ncurses.h')
- menu = conf.CHECK_FUNCS_IN('set_menu_items item_count', 'menu',
- headers='menu.h')
- panel = conf.CHECK_FUNCS_IN('new_panel show_panel', 'panel',
- headers='panel.h')
- if ncurses and menu:
- conf.env.build_regedit = True
+ conf.PROCESS_SEPARATE_RULE('system_ncurses')
default_static_modules.extend(TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
auth_sam auth_unix auth_winbind auth_wbc