Mercurial > mplayer.hg
changeset 2948:369dfb35fbdb
missing C sources tests
termcap typo that was breaking autodetection
author | pl |
---|---|
date | Sat, 17 Nov 2001 11:46:09 +0000 |
parents | 987c77cbb4de |
children | fb4c904f5d1d |
files | configure |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Nov 17 11:26:26 2001 +0000 +++ b/configure Sat Nov 17 11:46:09 2001 +0000 @@ -981,6 +981,9 @@ 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 @@ 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 @@ 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