[SDL] Announcing SDL_websrv 0.0.0

David Phillips david at acz.org
Wed Aug 8 14:58:01 PDT 2001


You shouldn't need to add the library to LIBS yourself, since the default
action if found for AC_CHECK_LIB is to add it.  I use the following and it
works fine (nice to tell people where to get the library):

# Check for SDL_net library
AC_CHECK_LIB(SDL_net, SDLNet_Init, , AC_MSG_ERROR([
*** Unable to find SDL_net library
(http://www.libsdl.org/projects/SDL_net/)
]))

> AC_CHECK_LIB(SDL_net, main,
>              LIBS="$LIBS -lSDL_net",
>              AC_MSG_ERROR([*** SDL_net library not found!])
>             )






More information about the SDL mailing list