[xiph-commits] r17413 - experimental/derf/theora-ptalarbvorm
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Tue Sep 21 22:05:29 PDT 2010
Author: tterribe
Date: 2010-09-21 22:05:29 -0700 (Tue, 21 Sep 2010)
New Revision: 17413
Modified:
experimental/derf/theora-ptalarbvorm/configure.ac
Log:
Use pkg-config checks for SDL instead of AM_PATH_CHECK.
SDL has had a pkg-config file since 2006, and we already rely on pkg-config for
enough other things that this should be okay.
Patch from David Schleef.
Modified: experimental/derf/theora-ptalarbvorm/configure.ac
===================================================================
--- experimental/derf/theora-ptalarbvorm/configure.ac 2010-09-22 05:02:29 UTC (rev 17412)
+++ experimental/derf/theora-ptalarbvorm/configure.ac 2010-09-22 05:05:29 UTC (rev 17413)
@@ -434,12 +434,13 @@
dnl check for SDL
HAVE_SDL=no
+if test "x$HAVE_PKG_CONFIG" = "xyes"
+then
+ PKG_CHECK_MODULES(SDL, sdl, HAVE_SDL=yes, [
+ HAVE_SDL=no
+ AC_MSG_WARN([*** Unable to find SDL -- Not compiling example players ***])])
+fi
-AM_PATH_SDL(,[
- HAVE_SDL=yes
- SDL_LIBS=`$SDL_CONFIG --libs`
-],AC_MSG_WARN([*** Unable to find SDL -- Not compiling example players ***]))
-
dnl check for OSS
HAVE_OSS=no
AC_CHECK_HEADERS([sys/soundcard.h soundcard.h machine/soundcard.h],[
More information about the commits
mailing list