]> git.sesse.net Git - vlc/commitdiff
Fix #include <SDL/SDL.h> to be #include <SDL.h>
authorNathan Phillip Brink <ohnobinki@ohnopublishing.net>
Sat, 6 Mar 2010 00:58:52 +0000 (19:58 -0500)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 7 Mar 2010 19:01:08 +0000 (21:01 +0200)
...as the FAQ on http://libsdl.org/ declares this is the most portable
method.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
configure.ac
modules/audio_output/sdl.c
modules/codec/sdl_image.c
modules/video_output/sdl.c

index e1004403043278458ec031cb0889bfd44220eda0..9dab26a1be9b0e8dfecf3744182f983e70bc0c7b 100644 (file)
@@ -3448,8 +3448,8 @@ then
         SDL_PATH="${with_sdl_config_path}:${PATH}"
       fi ])
   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, ${SDL_PATH})
-  SDL_HEADER="SDL/SDL.h"
-  SDL_IMAGE="SDL/SDL_image.h"
+  SDL_HEADER="SDL.h"
+  SDL_IMAGE="SDL_image.h"
 
   if test "${SDL_CONFIG}" != "no";  then
      PKG_CHECK_MODULES(SDL, [sdl >= 1.2.10], [
@@ -3457,12 +3457,12 @@ then
         if test "${SYS}" != "darwin"; then
           VLC_ADD_PLUGIN([vout_sdl aout_sdl])
         fi
-        VLC_ADD_CFLAGS([vout_sdl aout_sdl sdl_image],[`${SDL_CONFIG} --cflags | sed 's,SDL,,'`])
+        VLC_ADD_CFLAGS([vout_sdl aout_sdl sdl_image],[`${SDL_CONFIG} --cflags`])
         VLC_ADD_LIBS([vout_sdl aout_sdl sdl_image],[`${SDL_CONFIG} --libs | sed 's,-rdynamic,,'`])
 
         # SDL_image
         AS_IF([ test "${enable_sdl_image}" != "no"],[
-          AC_CHECK_HEADERS("SDL/SDL_image.h", [
+          AC_CHECK_HEADERS("SDL_image.h", [
             VLC_ADD_PLUGIN([sdl_image])
             AC_CHECK_LIB(png, png_set_rows, [VLC_ADD_LIBS([sdl_image],[-lpng -lz])],[],[-lz])
             AC_CHECK_LIB(jpeg, jpeg_start_decompress, [VLC_ADD_LIBS([sdl_image],[-ljpeg])])
index 16ddb824c9390565a662680ef91b3b697f81bba7..89bbfb1eb0d24dffa666f92b0849c89e5d75b464 100644 (file)
@@ -37,7 +37,7 @@
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
 
-#include <SDL/SDL.h>
+#include <SDL.h>
 
 #define FRAME_SIZE 2048
 
index 4a9f5d23ddbb9c7360c271768ce7bb83bdf6b655..bd28da76913d8a73188a64a2c70177cc21456089 100644 (file)
@@ -33,7 +33,7 @@
 #include <vlc_plugin.h>
 #include <vlc_codec.h>
 
-#include <SDL/SDL_image.h>
+#include <SDL_image.h>
 
 /*****************************************************************************
  * decoder_sys_t : sdl decoder descriptor
index c1c9f015007734860713e81ef8994952eba877da..579a8cd81c182d4fffda3a86bfa2d41810c32288 100644 (file)
@@ -38,7 +38,7 @@
 
 #include <assert.h>
 
-#include <SDL/SDL.h>
+#include <SDL.h>
 
 /*****************************************************************************
  * Module descriptor