diff options
author | wm4 <wm4@nowhere> | 2013-07-26 01:47:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-26 01:47:02 +0200 |
commit | 590f011df1d5521a7eba435e2e6856767f036af3 (patch) | |
tree | 84c57ddc6c7b10bb42204e9a9cb3c39f5f6c5fa9 /configure | |
parent | efd3361c818f69afc3401a8210675ee81f71a9cd (diff) | |
download | mpv-590f011df1d5521a7eba435e2e6856767f036af3.tar.bz2 mpv-590f011df1d5521a7eba435e2e6856767f036af3.tar.xz |
configure: fix terminfo check
On Linux, the check fails because NULL is not defined. Fix by using 0
instead, which is a perfectly valid null pointer constant, but doesn't
require stddef.h.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1417,7 +1417,7 @@ echocheck "terminfo" if test "$_terminfo" = auto ; then _terminfo=no for _ld_tmp in "-lncurses" "-lncursesw"; do - statement_check term.h 'setupterm(NULL, 1, NULL)' $_ld_tmp && + statement_check term.h 'setupterm(0, 1, 0)' $_ld_tmp && libs_mplayer="$libs_mplayer $_ld_tmp" && _terminfo=yes && break done fi |