build: simplify ncurses checks: --with-regedit does not take a path list
authorMichael Adam <obnox@samba.org>
Mon, 6 May 2013 11:19:24 +0000 (13:19 +0200)
committerKai Blin <kai@samba.org>
Mon, 6 May 2013 16:24:58 +0000 (18:24 +0200)
commit356b825838cd97cc43aaa4b108267d1bd5f16ca1
treeb1ee5428b5ba0b19fea9fe9eca3461bbe643e780
parent8d34f2fe1e219a0be28bc6b8ce9f93620d39a5b2
build: simplify ncurses checks: --with-regedit does not take a path list

--with-regedit is defined using SAMBA3_ADD_OPTION(), and can hence
take the values "yes", "no", and "auto". So it is not possible to
hand in paths to look for ncurses-config via this option.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
source3/wscript_configure_system_ncurses