From a89ceb10d0de426cb75cee78086744c3b417d758 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 9 Sep 2002 05:28:06 +0000 Subject: [PATCH] The portable way of including SDL is #include "SDL.h" --- sdl-config.in | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/sdl-config.in b/sdl-config.in index e33e5182d..942d242df 100644 --- a/sdl-config.in +++ b/sdl-config.in @@ -39,13 +39,16 @@ while test $# -gt 0; do echo @SDL_VERSION@ ;; --cflags) - if test @includedir@ != /usr/include ; then - # Handle oddities in Win32 path handling (assumes prefix) - prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'` + echo -I@includedir@/SDL @SDL_CFLAGS@ - includes=-I@includedir@ - fi - echo $includes -I@includedir@/SDL @SDL_CFLAGS@ + # The portable way of including SDL is #include "SDL.h" + #if test @includedir@ != /usr/include ; then + # # Handle oddities in Win32 path handling (assumes prefix) + # prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'` + # + # includes=-I@includedir@ + #fi + #echo $includes -I@includedir@/SDL @SDL_CFLAGS@ ;; @ENABLE_SHARED_TRUE@ --libs) @ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"