summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-17 11:46:09 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-17 11:46:09 +0000
commit3f154384e6a76a1ee3a2dbdf0b02fefefccdc74d (patch)
tree2ed3bc62b1742a741ce4902d3efe809c78eb4d67 /configure
parent2bcae4d2db461d57ef05c3cffaa89947be604111 (diff)
downloadmpv-3f154384e6a76a1ee3a2dbdf0b02fefefccdc74d.tar.bz2
mpv-3f154384e6a76a1ee3a2dbdf0b02fefefccdc74d.tar.xz
missing C sources tests
termcap typo that was breaking autodetection git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2949 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure b/configure
index 4558ad1aa2..ac785ca94b 100755
--- a/configure
+++ b/configure
@@ -981,6 +981,9 @@ echores "$_kstat"
echocheck "posix4"
+cat > $TMPC << EOF
+int main(void) { return 0; }
+EOF
_posix4=no
cc_check -lposix4 && _posix4=yes
if test "$_posix4" = yes ; then
@@ -1101,12 +1104,12 @@ echores "$_sys_soundcard"
echocheck "termcap"
-if test "$termcap" = auto ; then
+if test "$_termcap" = auto ; then
_termcap=no
cat > $TMPC <<EOF
int main(void) { return 0; }
EOF
- cc_check -ltermcap && _termcap=yes
+ cc_check -ltermcap && _termcap=yes
else
_termcap=no
fi
@@ -1562,6 +1565,10 @@ if test -z "$_sdlconfig" ; then
fi
fi
if test "$_sdl" = auto || test "$_sdl" = yes ; then
+ cat > $TMPC << EOF
+#include <SDL.h>
+int main(void) { return 0; }
+EOF
_sdl=no
if "$_sdlconfig" --version >/dev/null 2>&1 ; then
if cc_check `$_sdlconfig --cflags` `$_sdlconfig --libs` ; then