changeset 1294:ea7c0a4fe793

Fix projectm linking.
author Alex Maclean <monkeh@monkeh.net>
date Thu, 19 Jul 2007 00:51:28 +0000
parents c727a0f74374
children d2e508857ded
files configure.ac
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Jul 19 00:50:01 2007 +0000
+++ b/configure.ac	Thu Jul 19 00:51:28 2007 +0000
@@ -1316,6 +1316,10 @@
 
 if test "$have_projectm" = "yes"; then
 	PKG_CHECK_MODULES(LIBPROJECTM, libprojectM >= 0.0.0, [have_projectm="yes"], [have_projectm="no"])
+	AM_PATH_SDL(1.2.5, , [
+		AC_MSG_WARN([*** SDL is not installed. projectM will not be built. ***])
+		have_projectm="no"
+	])
 	if test x$libprjM = xno; then
 	        AC_MSG_WARN([*** libprojectM not found.
 	                        libprojectM is needed to build this package.