[xiph-commits] r13006 - trunk/theora-tools

conrad at svn.xiph.org conrad at svn.xiph.org
Thu May 31 19:00:31 PDT 2007


Author: conrad
Date: 2007-05-31 19:00:30 -0700 (Thu, 31 May 2007)
New Revision: 13006

Modified:
   trunk/theora-tools/configure.ac
Log:
use pkg-config instead of broken AM_PATH_SDL to detect SDL


Modified: trunk/theora-tools/configure.ac
===================================================================
--- trunk/theora-tools/configure.ac	2007-06-01 01:55:08 UTC (rev 13005)
+++ trunk/theora-tools/configure.ac	2007-06-01 02:00:30 UTC (rev 13006)
@@ -85,11 +85,7 @@
 AC_SUBST(VORBISENC_CFLAGS)
 AC_SUBST(VORBISENC_LIBS)
 
-AM_PATH_SDL(0.0.0,[
-	HAVE_SDL=yes
-	SDL_LIBS=`$SDL_CONFIG --libs`
-	SDL_CFLGAS=`$SDL_CONFIG --cflags`
-],AC_MSG_WARN([*** Unable to find SDL -- Not compiling example players ***]))
+PKG_CHECK_MODULES(SDL,sdl, HAVE_SDL="yes", HAVE_SDL="no")
 AC_SUBST(SDL_CFLAGS)
 AC_SUBST(SDL_LIBS)
 



More information about the commits mailing list