JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Improve autoconf detection of sdl(_image|_mixer)
authorJason Woofenden <jason@jasonwoof.com>
Fri, 12 Nov 2010 11:16:28 +0000 (06:16 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Fri, 12 Nov 2010 11:16:28 +0000 (06:16 -0500)
commita9e7cce3e8831c267147fe0f24e8991dc31d6b0c
treed4ebbd5c03cb172f6db5f23cc4964b348fb9a9ca
parent923a1c77954f93d107b54c39da7ff63d4f5ffadd
Improve autoconf detection of sdl(_image|_mixer)

This commit makes VoR cross-compile for windows on linux using stock
mingw-cross-env (make sdl-image sdl-mixer) with just

./configure --host=i686-pc-mingw32 && make

This removes the m4 craziness and instead relies on pkg-config to tell us how
to compile and link against SDL.

pkg-config files for SDL_image and SDL_mixer are used if found, but are not
required (they default to -lSDL_image and -lSDL_mixer respectively.)

Also the check for a symbol in SDL_mixer was updated to try to check for vorbis
support.
Makefile.in
aclocal.m4 [deleted file]
configure.ac