From e980537b03ff90c61a2b19b90dd0021fdce29a1f Mon Sep 17 00:00:00 2001 From: Jon Daniel Date: Fri, 11 Mar 2005 23:25:18 +0000 Subject: [PATCH] Moved the host_os checks... ...to a place where they get called even if sdl_test is disabled. --- configure.ac | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 078f56cd238..2f8b7ccba0a 100644 --- a/configure.ac +++ b/configure.ac @@ -251,14 +251,6 @@ AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) SDL_CFLAGS=`$SDL_CONFIG --cflags` SDL_LIBS=`$SDL_CONFIG --libs` -case ${host_os} in - darwin*) - SDL_LIBS="-framework Carbon $SDL_LIBS" -esac -case ${host_os} in - mingw32*) - SDL_LIBS="-lunicows $SDL_LIBS" -esac sdl_major_version=`$SDL_CONFIG --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` sdl_minor_version=`$SDL_CONFIG --version | \ @@ -413,6 +405,14 @@ if test -n "$LDPREFIX" -a -r `$SDL_CONFIG --prefix`/lib/libSDL.la then SDL_LIBS=`$SDL_CONFIG --prefix`/lib/libSDL.la else SDL_LIBS=`$SDL_CONFIG --libs` fi +case $host_os in + darwin*) + SDL_LIBS="-framework Carbon $SDL_LIBS" +esac +case $host_os in + mingw32*) + SDL_LIBS="-lunicows $SDL_LIBS" +esac OLD_LIBS=$LIBS LIBS="$LIBS $SDL_LIBS"