diff options
-rwxr-xr-x | source3/wscript_build | 2 | ||||
-rw-r--r-- | source3/wscript_configure_system_ncurses | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 13bdbc2af1..4eb968bc28 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1645,7 +1645,7 @@ bld.SAMBA3_BINARY('regedit', source="""utils/regedit.c utils/regedit_samba3.c utils/regedit_wrap.c utils/regedit_treeview.c utils/regedit_valuelist.c utils/regedit_dialog.c""", - deps='ncurses menu panel registry param popt_samba3 smbregistry', + deps='ncurses menu panel form registry param popt_samba3 smbregistry', enabled=bld.env.build_regedit, vars=locals()) diff --git a/source3/wscript_configure_system_ncurses b/source3/wscript_configure_system_ncurses index f61e49c039..e8c4ab5cb7 100644 --- a/source3/wscript_configure_system_ncurses +++ b/source3/wscript_configure_system_ncurses @@ -16,8 +16,9 @@ if conf.env.NCURSES_CONFIG: package="", uselib_store="NCURSES") conf.env.build_regedit = True -conf.CHECK_HEADERS('ncurses.h menu.h panel.h', lib='ncurses') +conf.CHECK_HEADERS('ncurses.h menu.h panel.h form.h', lib='ncurses') conf.CHECK_FUNCS_IN('initscr', 'ncurses') conf.CHECK_FUNCS_IN('set_menu_items item_count', 'menu') conf.CHECK_FUNCS_IN('new_panel show_panel', 'panel') +conf.CHECK_FUNCS_IN('new_field new_form', 'form') |