summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-25 07:21:42 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-25 07:21:42 +0000
commit6a837d7f0dba60ebcc290e3cdfe94a1b70a5139e (patch)
tree417dba715ec43196b5621469867f553e10704ede /configure
parentc2c91b66bc61de41201e4e0ef6801ee440b71e2b (diff)
downloadmpv-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-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 73269e808a..badbf40bc4 100755
--- a/configure
+++ b/configure
@@ -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