comparison sdl.m4 @ 794:a5defa3b93e1

Updated for the latest version of automake
author Sam Lantinga <slouken@libsdl.org>
date Thu, 29 Jan 2004 16:14:09 +0000
parents d90349051cab
children 65f4b2dd46b7
comparison
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="")