From 8e31364f6d1e468c95f61e1524d1c9405097ce33 Mon Sep 17 00:00:00 2001 From: Mirko Lindner Date: Sun, 14 Feb 2010 14:12:19 +0100 Subject: [PATCH] update configure.in for gmenu2x Signed-off-by: Mirko Lindner --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index ce7d059..9849628 100644 --- a/configure.in +++ b/configure.in @@ -15,6 +15,12 @@ SDL_VERSION=1.2.8 AM_PATH_SDL($SDL_VERSION, :, AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])) +AC_ARG_WITH(sdl-image-prefix, + [ --with-sdl-image-prefix=DIR specify where SDL_image library is installed], + [SDL_IMAGE_PREFIX="$withval"]) + +AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW,,check_sdl_image="no") + AC_ARG_WITH(sdl-gfx-prefix, [ --with-sdl-gfx-prefix=DIR specify where SDL_gfx library is installed], [SDL_GFX_PREFIX="$withval"])