disable ffplay if no SDL
authorFabrice Bellard <fabrice@bellard.org>
Tue, 10 Jun 2003 08:32:12 +0000 (08:32 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Tue, 10 Jun 2003 08:32:12 +0000 (08:32 +0000)
Originally committed as revision 1945 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 2c5ae32..5c72358 100755 (executable)
--- a/configure
+++ b/configure
@@ -641,6 +641,10 @@ sdl=yes
 fi
 fi
 
+if test "$sdl" = "no" ; then
+   ffplay=no
+fi
+
 if test "$small" = "yes"; then
 #  CFLAGS=${CFLAGS//-O3/-Os}
   CFLAGS="$CFLAGS -Os"