Mercurial > mplayer.hg
comparison configure @ 35917:a428cba73765
build: Add proper conditional compilation for all tools.
Also add an SDL image library check to configure, which is required
for the bmovl test tool.
author | diego |
---|---|
date | Tue, 19 Mar 2013 10:42:33 +0000 |
parents | a9a29710f28a |
children | 57761c0cbfe2 |
comparison
equal
deleted
inserted
replaced
35916:a9a29710f28a | 35917:a428cba73765 |
---|---|
5306 noaomodules="sdl $noaomodules" | 5306 noaomodules="sdl $noaomodules" |
5307 fi | 5307 fi |
5308 echores "$_sdl" | 5308 echores "$_sdl" |
5309 | 5309 |
5310 | 5310 |
5311 echocheck "SDL image" | |
5312 sdl_image=no | |
5313 if test "$_sdl" = yes ; then | |
5314 header_check SDL/SDL_image.h -lSDL_image && sdl_image=yes | |
5315 fi | |
5316 echores "$sdl_image" | |
5317 | |
5318 | |
5311 # make sure this stays below CoreVideo to avoid issues due to namespace | 5319 # make sure this stays below CoreVideo to avoid issues due to namespace |
5312 # conflicts between -lGL and -framework OpenGL | 5320 # conflicts between -lGL and -framework OpenGL |
5313 echocheck "OpenGL" | 5321 echocheck "OpenGL" |
5314 #Note: this test is run even with --enable-gl since we autodetect linker flags | 5322 #Note: this test is run even with --enable-gl since we autodetect linker flags |
5315 if test "$_gl" != no ; then | 5323 if test "$_gl" != no ; then |
8358 GUI = $_gui | 8366 GUI = $_gui |
8359 GUI_GTK = $_gui_gtk | 8367 GUI_GTK = $_gui_gtk |
8360 GUI_WIN32 = $_gui_win32 | 8368 GUI_WIN32 = $_gui_win32 |
8361 HAVE_POSIX_SELECT = $_posix_select | 8369 HAVE_POSIX_SELECT = $_posix_select |
8362 HAVE_SYS_MMAN_H = $_mman | 8370 HAVE_SYS_MMAN_H = $_mman |
8371 HAVE_WINDOWS_H = $windows_h | |
8363 IVTV = $_ivtv | 8372 IVTV = $_ivtv |
8364 JACK = $_jack | 8373 JACK = $_jack |
8365 JOYSTICK = $_joystick | 8374 JOYSTICK = $_joystick |
8366 JPEG = $_jpeg | 8375 JPEG = $_jpeg |
8367 KAI = $_kai | 8376 KAI = $_kai |
8413 RADIO=$_radio | 8422 RADIO=$_radio |
8414 RADIO_CAPTURE=$_radio_capture | 8423 RADIO_CAPTURE=$_radio_capture |
8415 REAL_CODECS = $_real | 8424 REAL_CODECS = $_real |
8416 S3FB = $_s3fb | 8425 S3FB = $_s3fb |
8417 SDL = $_sdl | 8426 SDL = $_sdl |
8427 SDL_IMAGE = $sdl_image | |
8418 SPEEX = $_speex | 8428 SPEEX = $_speex |
8419 STREAM_CACHE = $_stream_cache | 8429 STREAM_CACHE = $_stream_cache |
8420 SGIAUDIO = $_sgiaudio | 8430 SGIAUDIO = $_sgiaudio |
8421 SUNAUDIO = $_sunaudio | 8431 SUNAUDIO = $_sunaudio |
8422 SVGA = $_svga | 8432 SVGA = $_svga |