The portable way of including SDL is #include "SDL.h"
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40491
This commit is contained in:
parent
cb29ccb60d
commit
92d0c77b4e
1 changed files with 9 additions and 6 deletions
|
@ -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@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue