sdl-config.in
changeset 490 7e53d17ec798
parent 296 fab1ddc4d7bf
child 807 674df5617bba
     1.1 --- a/sdl-config.in	Mon Sep 09 05:12:32 2002 +0000
     1.2 +++ b/sdl-config.in	Mon Sep 09 05:28:06 2002 +0000
     1.3 @@ -39,13 +39,16 @@
     1.4        echo @SDL_VERSION@
     1.5        ;;
     1.6      --cflags)
     1.7 -      if test @includedir@ != /usr/include ; then
     1.8 -          # Handle oddities in Win32 path handling (assumes prefix)
     1.9 -          prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'`
    1.10 +      echo -I@includedir@/SDL @SDL_CFLAGS@
    1.11  
    1.12 -          includes=-I@includedir@
    1.13 -      fi
    1.14 -      echo $includes -I@includedir@/SDL @SDL_CFLAGS@
    1.15 +      # The portable way of including SDL is #include "SDL.h"
    1.16 +      #if test @includedir@ != /usr/include ; then
    1.17 +      #    # Handle oddities in Win32 path handling (assumes prefix)
    1.18 +      #    prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'`
    1.19 +      #
    1.20 +      #    includes=-I@includedir@
    1.21 +      #fi
    1.22 +      #echo $includes -I@includedir@/SDL @SDL_CFLAGS@
    1.23        ;;
    1.24  @ENABLE_SHARED_TRUE@    --libs)
    1.25  @ENABLE_SHARED_TRUE@      libdirs="-L@libdir@ @SDL_RLD_FLAGS@"