slang: add ncurses optional dependency
authorRomain Naour <romain.naour@openwide.fr>
Thu, 27 Mar 2014 23:06:33 +0000 (00:06 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 28 Mar 2014 08:54:45 +0000 (09:54 +0100)
commit3a7aee7742fbe802f26c9ec341580be16e4d1c25
treeef396f31127d14331202f7ef637829f1ab4dfb83
parent32c0fbbcdec5e4fdf853cb566a83680a4d393b90
slang: add ncurses optional dependency

Ncurses check need to be disabled if ncurses package is not
selected.
If we don't do that, host's ncurses5-config may be used by
configure script.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/slang/slang.mk