gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash configure.ac ChangeLog


From: Martin Guy
Subject: [Gnash-commit] gnash configure.ac ChangeLog
Date: Thu, 10 May 2007 11:36:15 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Martin Guy <martinwguy> 07/05/10 11:36:15

Modified files:
        .              : configure.ac ChangeLog 

Log message:
                * configure.ac: Don't report SDL FLAGS and help message twice.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.306&r2=1.307
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3151&r2=1.3152

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.306
retrieving revision 1.307
diff -u -b -r1.306 -r1.307
--- configure.ac        10 May 2007 08:08:43 -0000      1.306
+++ configure.ac        10 May 2007 11:36:14 -0000      1.307
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.306 2007/05/10 08:08:43 martinwguy Exp $
+dnl $Id: configure.ac,v 1.307 2007/05/10 11:36:14 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1478,7 +1478,13 @@
   fi
 fi
 
-if test x"$gui" = x"sdl"; then
+# See whether SDL is required
+need_sdl=false
+test x"$gui" = x"sdl"                  && need_sdl=true
+test x"$media_handler" = x"ffmpeg"     && need_sdl=true
+test x"$media_handler" = x"mad"                && need_sdl=true
+
+if $need_sdl; then
   if test x"$SDL_LIBS" != x; then
     echo "        SDL flags are: $SDL_CFLAGS"
     echo "        SDL libs are: $SDL_LIBS"
@@ -1487,24 +1493,14 @@
     echo "               You need to have the SDL development package 
installed"
     echo "               to compile, or install libsdl1.2-dev (using apt-get)"
     echo "               or SDL-devel (using yum)."
+    [ x"$gui" == x"sdl" ] &&
+       echo "               Or you can select a different GUI with 
--enable-gui= "
+    [ x"$media_handler" = x"ffmpeg" -o x"$media_handler" = x"mad" ] &&
+       echo "               or use --enable-media=gst"
     nogo=true
   fi
 fi
-
-if test x"$media_handler" = x"ffmpeg" -o x"$media_handler" = x"mad"; then
-  if test x"$SDL_LIBS" != x; then
-    echo "        SDL flags are: $SDL_CFLAGS"
-    echo "        SDL libs are: $SDL_LIBS"
-  else
-    echo "        ERROR: sdl sound requested, but no SDL development package 
installed!"
-    echo "               You need to have the SDL development package 
installed"
-    echo "               if you wish to have sdl-based sound support for 
Gnash."
-    echo "               To compile this project with SDL sound support, 
install"
-    echo "               libsdl-1.2-dev (using apt-get) or SDL-devel (using 
yum)."
-    echo "               or configure with --enable-sound=gst to use gstreamer 
instead."
-   nogo=true
-  fi
-fi
+unset need_sdl
 
 if test x"$plugin" = x"yes"; then
 dnl  if test x"$FIREFOX_CFLAGS" != x; then

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3151
retrieving revision 1.3152
diff -u -b -r1.3151 -r1.3152
--- ChangeLog   10 May 2007 10:08:32 -0000      1.3151
+++ ChangeLog   10 May 2007 11:36:15 -0000      1.3152
@@ -33,6 +33,7 @@
 
        * configure.ac: Don't warn about ffmpeg/mad absence during tests;
          they are checked and nogoed at the end.
+       * configure.ac: Don't report SDL FLAGS and help message twice.
 
 2007-05-09 Sandro Santilli <address@hidden>
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]