[Mplayer-cvslog] CVS: main configure2,1.252,1.253

pl pl at mplayer.dev.hu
Sat Nov 17 12:46:12 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv15095

Modified Files:
	configure2 
Log Message:
missing C sources tests
termcap typo that was breaking autodetection


Index: configure2
===================================================================
RCS file: /cvsroot/mplayer/main/configure2,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- configure2	17 Nov 2001 11:26:26 -0000	1.252
+++ configure2	17 Nov 2001 11:46:09 -0000	1.253
@@ -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




More information about the MPlayer-cvslog mailing list