comparison sdl-config.in @ 490:7e53d17ec798

The portable way of including SDL is #include "SDL.h"
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Sep 2002 05:28:06 +0000
parents fab1ddc4d7bf
children 674df5617bba
comparison
equal deleted inserted replaced
489:d90349051cab 490:7e53d17ec798
37 ;; 37 ;;
38 --version) 38 --version)
39 echo @SDL_VERSION@ 39 echo @SDL_VERSION@
40 ;; 40 ;;
41 --cflags) 41 --cflags)
42 if test @includedir@ != /usr/include ; then 42 echo -I@includedir@/SDL @SDL_CFLAGS@
43 # Handle oddities in Win32 path handling (assumes prefix)
44 prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'`
45 43
46 includes=-I@includedir@ 44 # The portable way of including SDL is #include "SDL.h"
47 fi 45 #if test @includedir@ != /usr/include ; then
48 echo $includes -I@includedir@/SDL @SDL_CFLAGS@ 46 # # Handle oddities in Win32 path handling (assumes prefix)
47 # prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'`
48 #
49 # includes=-I@includedir@
50 #fi
51 #echo $includes -I@includedir@/SDL @SDL_CFLAGS@
49 ;; 52 ;;
50 @ENABLE_SHARED_TRUE@ --libs) 53 @ENABLE_SHARED_TRUE@ --libs)
51 @ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@" 54 @ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
52 @ENABLE_SHARED_TRUE@ echo $libdirs @SDL_LIBS@ @SHARED_SYSTEM_LIBS@ 55 @ENABLE_SHARED_TRUE@ echo $libdirs @SDL_LIBS@ @SHARED_SYSTEM_LIBS@
53 @ENABLE_SHARED_TRUE@ ;; 56 @ENABLE_SHARED_TRUE@ ;;