* [gentoo-commits] gentoo-x86 commit in media-video/mjpegtools/files: mjpegtools-2.0.0-sdlgfx-automagic.patch
@ 2011-06-07 17:58 Daniel Pielmeier (billie)
0 siblings, 0 replies; only message in thread
From: Daniel Pielmeier (billie) @ 2011-06-07 17:58 UTC (permalink / raw
To: gentoo-commits
billie 11/06/07 17:58:57
Added: mjpegtools-2.0.0-sdlgfx-automagic.patch
Log:
Revision bump to fix bug #259207, thanks to Victor Yu. Kowalsky for the report.
(Portage version: 2.1.9.42/cvs/Linux i686)
Revision Changes Path
1.1 media-video/mjpegtools/files/mjpegtools-2.0.0-sdlgfx-automagic.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpegtools/files/mjpegtools-2.0.0-sdlgfx-automagic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mjpegtools/files/mjpegtools-2.0.0-sdlgfx-automagic.patch?rev=1.1&content-type=text/plain
Index: mjpegtools-2.0.0-sdlgfx-automagic.patch
===================================================================
--- configure.ac.old 2011-05-21 14:30:09.000000000 +0200
+++ configure.ac 2011-05-29 15:36:54.488792001 +0200
@@ -64,6 +64,9 @@
AC_ARG_WITH(libsdl,
AC_HELP_STRING([--without-libsdl], [Do not use libsdl.]),
[], [with_libsdl=yes])
+AC_ARG_WITH(sdlgfx,
+ AC_HELP_STRING([--without-sdlgfx], [Do not use sdlgfx.]),
+ [], [with_sdlgfx=yes])
AC_GNU_SOURCE
dnl Initialize libtool
@@ -306,20 +309,24 @@
fi
AM_CONDITIONAL(HAVE_SDL, test x$have_sdl = xtrue)
-dnl ***
+dnl ********************************************************************
dnl Check for SDL_gfx which is used by y4mhist to display a graphical
dnl histogram.
-dnl ***
-AC_SUBST(SDLgfx_LIBS)
-if test x$have_sdl = xtrue; then
- OLD_LIBS="$LIBS"
- LIBS="$LIBS -lSDL -lSDL_gfx"
- AC_CHECK_LIB(SDL_gfx, vlineColor,
- [SDLgfx_LIBS="-lSDL_gfx"
- AC_DEFINE(HAVE_SDLgfx, 1, [SDL_gfx library present])
- have_sdlgfx=true ],[have_sdlgfx=false])
- LIBS="$OLD_LIBS"
+dnl ********************************************************************
+have_sdlgfx=false
+if test x$with_sdlgfx != xno ; then
+ AC_SUBST(SDLgfx_LIBS)
+ if test x$have_sdl = xtrue; then
+ OLD_LIBS="$LIBS"
+ LIBS="$LIBS -lSDL -lSDL_gfx"
+ AC_CHECK_LIB(SDL_gfx, vlineColor,
+ [SDLgfx_LIBS="-lSDL_gfx"
+ AC_DEFINE(HAVE_SDLgfx, 1, [SDL_gfx library present])
+ have_sdlgfx=true ],[have_sdlgfx=false])
+ LIBS="$OLD_LIBS"
+ fi
fi
+AM_CONDITIONAL(HAVE_SDLgfx, test x$have_sdlgfx = xtrue)
dnl ********************************************************************
dnl Test for MMX support if an IA32 platform. If on a PPC then look for
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-07 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 17:58 [gentoo-commits] gentoo-x86 commit in media-video/mjpegtools/files: mjpegtools-2.0.0-sdlgfx-automagic.patch Daniel Pielmeier (billie)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox