Skip to content

Commit

Permalink
The portable way of including SDL is #include "SDL.h"
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 9, 2002
1 parent 31aa404 commit a89ceb1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions sdl-config.in
Expand Up @@ -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@"
Expand Down

0 comments on commit a89ceb1

Please sign in to comment.