test/acinclude.m4
changeset 794 a5defa3b93e1
parent 489 d90349051cab
child 1380 d94b080ff6ce
equal deleted inserted replaced
793:c20f08c4f437 794:a5defa3b93e1
     6 # Shamelessly stolen from Owen Taylor
     6 # Shamelessly stolen from Owen Taylor
     7 
     7 
     8 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     8 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     9 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     9 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    10 dnl
    10 dnl
    11 AC_DEFUN(AM_PATH_SDL,
    11 AC_DEFUN([AM_PATH_SDL],
    12 [dnl 
    12 [dnl 
    13 dnl Get the cflags and libraries from the sdl-config script
    13 dnl Get the cflags and libraries from the sdl-config script
    14 dnl
    14 dnl
    15 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    15 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    16             sdl_prefix="$withval", sdl_prefix="")
    16             sdl_prefix="$withval", sdl_prefix="")