[MPlayer-dev-eng] [PATCH] configure --disable-termios doesn't really disable

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Tue Nov 9 20:37:18 CET 2004


Hi.

./configure --disable-termios doesn't work as expected, because
there are *two* tests and if we --disable, then the second test
kicks in. Simple fix attached.

Regards,
R.

-- 
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.934
diff -u -r1.934 configure
--- configure	7 Nov 2004 21:58:29 -0000	1.934
+++ configure	9 Nov 2004 19:34:49 -0000
@@ -2860,12 +2860,12 @@
 #include <sys/termios.h>
 int main(void) { return 0; }
 EOF
-  _termios=no
+  _termios=auto
   cc_check && _termios=yes
   _def_termios_h_name='sys/termios.h'
 fi
 # second test:
-if test "$_termios" = no ; then
+if test "$_termios" = auto ; then
   cat > $TMPC <<EOF
 #include <termios.h>
 int main(void) { return 0; }


More information about the MPlayer-dev-eng mailing list