Linkinng the SDL from MacPorts by default now. L*

This commit is contained in:
xmatela
2009-12-04 13:33:37 +00:00
parent cd4eda4e42
commit e89d5d23b0
2 changed files with 3020 additions and 6419 deletions

9435
ultragrid/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -368,12 +368,12 @@ SDL_OBJ=
case "$host_os" in
*darwin*)
AC_CHECK_HEADERS([SDL/SDL.h],
[AC_CHECK_FILE(/Library/Frameworks/SDL.framework/SDL, FOUND_SDL_L=yes, echo "SDL framework not found.")],
[AC_CHECK_LIB(SDL, main, FOUND_SDL_L=yes, echo "SDL library not found or not usable.", -L/opt/local/lib)],
[echo "SDL.h not found."]
)
if test $FOUND_SDL_L = yes
then
LIBS="$LIBS -framework SDL"
LIBS="$LIBS -L/opt/local/lib -lSDL"
SDL_OBJ="$SDL_OBJ src/video_display/sdl.o"
AC_DEFINE(HAVE_SDL)
SDL_VERSION=1.2.10