Fixed Solaris nitpicks (thanks Mattias!)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40167
This commit is contained in:
Sam Lantinga 2001-09-04 22:48:09 +00:00
parent b29480bdb9
commit ee5429fd3e
4 changed files with 14 additions and 43 deletions

View file

@ -1196,20 +1196,14 @@ CheckQUARTZ()
# and what runs on older Macs - while in theory "Carbon" defns
# are consistent between the two, in practice Carbon is still
# changing. -sts Aug 2000
mac_autoconf_target_workaround="MAC"
CFLAGS="$CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers \
-I/System/Library/Frameworks/Cocoa.framework/Headers -fpascal-strings \
-DENABLE_QUARTZ -DMACOSX -DTARGET_API_MAC_CARBON=1 -I\$(top_srcdir)/src/video/quartz"
-DENABLE_QUARTZ -DMACOSX -DTARGET_API_${mac_autoconf_target_workaround}_CARBON=1 -I\$(top_srcdir)/src/video/quartz"
VIDEO_SUBDIRS="$VIDEO_SUBDIRS quartz"
VIDEO_DRIVERS="$VIDEO_DRIVERS quartz/libvideo_quartz.la"
}
dnl Set up the kernel statistics library for Solaris
CheckKSTAT()
{
CFLAGS="$CFLAGS -DHAVE_KSTAT"
SYSTEM_LIBS="$SYSTEM_LIBS -lkstat"
}
case "$target" in
*-*-linux*)
ARCH=linux
@ -1516,7 +1510,6 @@ case "$target" in
CheckAAlib
CheckOpenGL
CheckPTHREAD
CheckKSTAT
# Set up files for the main() stub
COPY_ARCH_SRC(src/main, linux, SDL_main.c)
# Set up files for the audio library
@ -1566,7 +1559,6 @@ case "$target" in
CheckAAlib
CheckOpenGL
CheckPTHREAD
CheckKSTAT
# Set up files for the main() stub
COPY_ARCH_SRC(src/main, linux, SDL_main.c)
# Set up files for the audio library