summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. Davis <cd.rattan@gmail.com>2012-08-06 12:29:11 -0700
committerMichael Adam <obnox@samba.org>2013-04-29 13:06:01 +0200
commitbdc40f909f5387698664d3e77dc530d2c2b68a93 (patch)
treeb5392b05c7f7d41f4ec5151276f4ab60a7c3ebd7
parent4a87a7ab61ae965cef6a8ffe2d017d1e877cce74 (diff)
downloadsamba-bdc40f909f5387698664d3e77dc530d2c2b68a93.tar.gz
samba-bdc40f909f5387698664d3e77dc530d2c2b68a93.tar.bz2
samba-bdc40f909f5387698664d3e77dc530d2c2b68a93.zip
regedit: Link to ncurses form library
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rwxr-xr-xsource3/wscript_build2
-rw-r--r--source3/wscript_configure_system_ncurses3
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')