git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2623
ffa7fe5e-494d-0410-b361-
a75ebd5db220
AC_ARG_ENABLE(graphics-sdl, [ --disable-graphics-sdl don't create graphics sdl], graphics_sdl=$enableval;graphics_sdl_reason="configure parameter")
if test "x${graphics_sdl}" = "xyes" ; then
- PKG_CHECK_MODULES(SDL, [sdl], graphics_sdl="yes";graphics_sdl_reason="sdl present" , graphics_sdl="no";graphics_sdl_reason="sdl not available")
+ PKG_CHECK_MODULES(SDL,
+ [sdl],
+ [graphics_sdl="yes"
+ graphics_sdl_reason="sdl present"] ,
+ [graphics_sdl="no"
+ graphics_sdl_reason="sdl not available"]
+ )
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
fi