iconv: detect and make curses depend on it

curses will use it for proper wide output support.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-Id: <20190311135127.2229-2-samuel.thibault@ens-lyon.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Samuel Thibault 2019-03-11 14:51:26 +01:00 committed by Gerd Hoffmann
parent 377b155bde
commit e08bb3010c
3 changed files with 58 additions and 3 deletions

2
vl.c
View file

@ -3170,7 +3170,7 @@ int main(int argc, char **argv, char **envp)
#ifdef CONFIG_CURSES
dpy.type = DISPLAY_TYPE_CURSES;
#else
error_report("curses support is disabled");
error_report("curses or iconv support is disabled");
exit(1);
#endif
break;