Commit f7a07516 authored by Sam Hocevar's avatar Sam Hocevar

  * Attempt to fix the SDL detection under *BSD.
parent 08fe80aa
...@@ -6,7 +6,7 @@ HEAD ...@@ -6,7 +6,7 @@ HEAD
* Nothing yet. * Nothing yet.
0.2.83 0.0.3
Wed, 22 Aug 2001 15:18:01 +0200 Wed, 22 Aug 2001 15:18:01 +0200
* Added BSD/OS libdvd by Steven M. Schultz <sms@TO.GD-ES.COM> in * Added BSD/OS libdvd by Steven M. Schultz <sms@TO.GD-ES.COM> in
......
This diff is collapsed.
...@@ -681,14 +681,14 @@ then ...@@ -681,14 +681,14 @@ then
PLUGINS="${PLUGINS} sdl" PLUGINS="${PLUGINS} sdl"
CFLAGS_SDL="`${SDL_CONFIG} --cflags`" CFLAGS_SDL="`${SDL_CONFIG} --cflags`"
LIB_SDL="`${SDL_CONFIG} --libs | sed 's,-rdynamic,,'`" LIB_SDL="`${SDL_CONFIG} --libs | sed 's,-rdynamic,,'`"
save_CFLAGS=$CFLAGS save_CPPFLAGS=$CPPFLAGS
CFLAGS="$CFLAGS $CFLAGS_SDL" CPPFLAGS="$CPPFLAGS $CFLAGS_SDL"
AC_CHECK_HEADERS(${SDL_HEADER}, AC_DEFINE_UNQUOTED(SDL_INCLUDE_FILE, AC_CHECK_HEADERS(${SDL_HEADER}, AC_DEFINE_UNQUOTED(SDL_INCLUDE_FILE,
<${SDL_HEADER}>, Indicate whether we should use SDL/SDL.h or SDL11/SDL.h), <${SDL_HEADER}>, Indicate whether we should use SDL/SDL.h or SDL11/SDL.h),
[ echo "The development package for SDL is not installed. Please install it" [ echo "The development package for SDL is not installed. Please install it"
echo "and try again. Alternatively you can also configure with --disable-sdl." echo "and try again. Alternatively you can also configure with --disable-sdl."
exit 1 ]) exit 1 ])
CFLAGS=$save_CFLAGS CPPFLAGS=$save_CPPFLAGS
if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
then then
echo "You need SDL version 1.1.5 or later. Install it and try again." echo "You need SDL version 1.1.5 or later. Install it and try again."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment