sdl2.m4
changeset 6272 f3dbef2cc0f2
parent 6250 cce0ddcf6747
child 6890 d87e515b5157
equal deleted inserted replaced
6271:d1ba86bc57a5 6272:f3dbef2cc0f2
     8 # serial 1
     8 # serial 1
     9 
     9 
    10 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    10 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    11 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    11 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    12 dnl
    12 dnl
    13 AC_DEFUN([AM_PATH_SDL],
    13 AC_DEFUN([AM_PATH_SDL2],
    14 [dnl 
    14 [dnl 
    15 dnl Get the cflags and libraries from the sdl2-config script
    15 dnl Get the cflags and libraries from the sdl2-config script
    16 dnl
    16 dnl
    17 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    17 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    18             sdl_prefix="$withval", sdl_prefix="")
    18             sdl_prefix="$withval", sdl_prefix="")