diff options
author | davilla <davilla@xbmc.org> | 2011-09-05 14:48:18 -0400 |
---|---|---|
committer | davilla <davilla@xbmc.org> | 2011-09-05 14:48:33 -0400 |
commit | 66eef12cb5c708c2150744f3fbb31ab58f3faaa6 (patch) | |
tree | 8dd998ff97cd7486a47a8830d2bc2e59755582f1 /configure.in | |
parent | 02cfd491a8dc8db3797c615f0b7579e04ce9db33 (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-x | configure.in | 2 |
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 |