diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-22 14:47:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | 5e4fcb8a6036746ec1b500297fa55989a80094b4 (patch) | |
tree | 915d788dcaf3bc39bed6985236fb879c3c93f6cb /configure.ac | |
parent | 2480ea4cc668ff99007dd6fb8b44911eea5d5287 (diff) | |
download | plus-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.gz plus-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.bz2 plus-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.xz plus-5e4fcb8a6036746ec1b500297fa55989a80094b4.zip |
final SDL2 compilation fixes.
now it can be compiled, but still not works.
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 8abb9d82a..756160ce8 100755 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,9 @@ if test "x$with_sdl2" == "xyes"; then # using embedded sdl2gfx CPPFLAGS="$CPPFLAGS -I./sdl2gfx" + AC_CHECK_LIB(SDL2_net, SDLNet_Init, , + AC_MSG_ERROR([ *** Unable to find SDL2_net library])) + with_sdl2=yes else AC_PATH_PROG(SDL_CONFIG, sdl-config) @@ -87,6 +90,9 @@ else AC_MSG_ERROR([ *** Unable to find SDL_gfx library (http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx)])) AC_CHECK_HEADERS(SDL_rotozoom.h, ,) + AC_CHECK_LIB(SDL_net, SDLNet_Init, , + AC_MSG_ERROR([ *** Unable to find SDL_net library])) + with_sdl2=no fi @@ -239,9 +245,6 @@ fi AM_CONDITIONAL(USE_MUMBLE, test x$with_mumble = xyes) -AC_CHECK_LIB(SDL_net, SDLNet_Init, , -AC_MSG_ERROR([ *** Unable to find SDL_net library])) - AC_ARG_WITH(librt,[ --without-librt don't link to librt ] ) if test "x$with_librt" == "xno"; then without_librt=yes |