aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authordavilla <davilla@xbmc.org>2011-09-05 14:48:18 -0400
committerdavilla <davilla@xbmc.org>2011-09-05 14:48:33 -0400
commit66eef12cb5c708c2150744f3fbb31ab58f3faaa6 (patch)
tree8dd998ff97cd7486a47a8830d2bc2e59755582f1 /configure.in
parent02cfd491a8dc8db3797c615f0b7579e04ce9db33 (diff)
changed, add ac-define HAVE_SDL and check for it in system.h rather than assuming we always use it
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 01e88e1220..bba03e5719 100755
--- a/configure.in
+++ b/configure.in
@@ -719,6 +719,7 @@ if test "$host_vendor" = "apple" ; then
if test "$use_arch" != "arm"; then
AC_CHECK_LIB([SDL_mixer],[main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([SDL], [main],, AC_MSG_ERROR($missing_library))
+ AC_DEFINE([HAVE_SDL],[1],["Define to 1 if using sdl"])
fi
else
AC_CHECK_LIB([dl], [main],, AC_MSG_ERROR($missing_library))
@@ -740,6 +741,7 @@ else
AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([SDL_mixer], [main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([SDL_image], [main],, AC_MSG_ERROR($missing_library))
+ AC_DEFINE([HAVE_SDL],[1],["Define to 1 if using sdl"])
fi
fi