Skip to content

Instantly share code, notes, and snippets.

@hasufell
Created May 7, 2012 13:23
Show Gist options
  • Save hasufell/2627729 to your computer and use it in GitHub Desktop.
Save hasufell/2627729 to your computer and use it in GitHub Desktop.
applied on 1871b6943c0e09f75aa6708fbbb5145a0cdbfbc3
--- configure.ac
+++ configure.ac
@@ -693,11 +693,8 @@
[enable_sdlout=$enableval], [enable_sdlout=yes])
if test $enable_sdlout = yes ; then
- AM_PATH_SDL(1.2.5, [enable_sdlout=yes], [enable_sdlout=no])
-fi
-
-if test $enable_sdlout = yes ; then
- OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"
+ PKG_CHECK_MODULES([SDL], [sdl >= 1.2.11])
+ OUTPUT_PLUGINS="$OUTPUT_PLUGINS sdlout"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment