The portable way of including SDL is #include "SDL.h"
authorSam Lantinga <slouken@libsdl.org>
Mon, 09 Sep 2002 05:28:06 +0000
changeset 490 7e53d17ec798
parent 489 d90349051cab
child 491 da6a7e859616
The portable way of including SDL is #include "SDL.h"
sdl-config.in
--- a/sdl-config.in	Mon Sep 09 05:12:32 2002 +0000
+++ b/sdl-config.in	Mon Sep 09 05:28:06 2002 +0000
@@ -39,13 +39,16 @@
       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@"