diff options
author | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-25 07:21:42 +0000 |
---|---|---|
committer | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-25 07:21:42 +0000 |
commit | 6a837d7f0dba60ebcc290e3cdfe94a1b70a5139e (patch) | |
tree | 417dba715ec43196b5621469867f553e10704ede /configure | |
parent | c2c91b66bc61de41201e4e0ef6801ee440b71e2b (diff) | |
download | mpv-6a837d7f0dba60ebcc290e3cdfe94a1b70a5139e.tar.bz2 mpv-6a837d7f0dba60ebcc290e3cdfe94a1b70a5139e.tar.xz |
improove termcap detection, -lncurses works too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17237 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3060,10 +3060,10 @@ echores "$_sol_scsi_h" echocheck "termcap" if test "$_termcap" = auto ; then cat > $TMPC <<EOF -int main(void) { return 0; } +int main(void) { tgetent(); return 0; } EOF _termcap=no - for _ld_tmp in "-ltermcap" "-ltinfo" ; do + for _ld_tmp in "-ltermcap" "-ltinfo" "-lncurses"; do cc_check $_ld_tmp && _ld_termcap="$_ld_tmp" && _termcap=yes && break done fi |