diff options
author | wsnipex <wsnipex@a1.net> | 2014-09-12 10:19:48 +0200 |
---|---|---|
committer | Frank Raeznberg <frank@zzattack.org> | 2014-10-26 23:22:48 +0100 |
commit | d0bff57b4212754db3beb6cb3c06730fca3b4a0e (patch) | |
tree | fde6fbd0a1d7c4813151baf22c12d1f189a70f0d /configure.in | |
parent | 6b74885e9331e2f570ea7a555518e03cded9537c (diff) |
[depends] move to SDL2 for linux
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 5f7de64e67..f72ea4d15d 100644 --- a/configure.in +++ b/configure.in @@ -1199,7 +1199,7 @@ AC_SEARCH_LIBS([__dn_expand],resolv) # platform dependent libraries if test "$host_vendor" = "apple" ; then if test "$use_arch" != "arm"; then - AC_CHECK_LIB([SDL2], [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"]) AC_DEFINE([SDL_VERSION],[1],["SDL major version"]) fi @@ -2090,7 +2090,7 @@ fi if test "$use_joystick" = "yes"; then final_message="$final_message\n Joystick:\tYes" - SDL_DEFINES="$SDL_DEFINES -DHAS_SDL_JOYSTICK" + AC_DEFINE([HAS_SDL_JOYSTICK],[1],["Define to 1 if using SDL joystick"]) else final_message="$final_message\n Joystick:\tNo" fi |