comparison configure.in @ 166:39877400bd1e

Fixed Solaris nitpicks (thanks Mattias!)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Sep 2001 22:48:09 +0000
parents 4382c38dfbee
children cb384ef627f6
comparison
equal deleted inserted replaced
165:6a4e09bbbbc0 166:39877400bd1e
1194 # "MACOSX" is not an official definition, but it's commonly 1194 # "MACOSX" is not an official definition, but it's commonly
1195 # accepted as a way to differentiate between what runs on X 1195 # accepted as a way to differentiate between what runs on X
1196 # and what runs on older Macs - while in theory "Carbon" defns 1196 # and what runs on older Macs - while in theory "Carbon" defns
1197 # are consistent between the two, in practice Carbon is still 1197 # are consistent between the two, in practice Carbon is still
1198 # changing. -sts Aug 2000 1198 # changing. -sts Aug 2000
1199 mac_autoconf_target_workaround="MAC"
1199 CFLAGS="$CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers \ 1200 CFLAGS="$CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers \
1200 -I/System/Library/Frameworks/Cocoa.framework/Headers -fpascal-strings \ 1201 -I/System/Library/Frameworks/Cocoa.framework/Headers -fpascal-strings \
1201 -DENABLE_QUARTZ -DMACOSX -DTARGET_API_MAC_CARBON=1 -I\$(top_srcdir)/src/video/quartz" 1202 -DENABLE_QUARTZ -DMACOSX -DTARGET_API_${mac_autoconf_target_workaround}_CARBON=1 -I\$(top_srcdir)/src/video/quartz"
1202 VIDEO_SUBDIRS="$VIDEO_SUBDIRS quartz" 1203 VIDEO_SUBDIRS="$VIDEO_SUBDIRS quartz"
1203 VIDEO_DRIVERS="$VIDEO_DRIVERS quartz/libvideo_quartz.la" 1204 VIDEO_DRIVERS="$VIDEO_DRIVERS quartz/libvideo_quartz.la"
1204 }
1205
1206 dnl Set up the kernel statistics library for Solaris
1207 CheckKSTAT()
1208 {
1209 CFLAGS="$CFLAGS -DHAVE_KSTAT"
1210 SYSTEM_LIBS="$SYSTEM_LIBS -lkstat"
1211 } 1205 }
1212 1206
1213 case "$target" in 1207 case "$target" in
1214 *-*-linux*) 1208 *-*-linux*)
1215 ARCH=linux 1209 ARCH=linux
1514 CheckNAS 1508 CheckNAS
1515 CheckX11 1509 CheckX11
1516 CheckAAlib 1510 CheckAAlib
1517 CheckOpenGL 1511 CheckOpenGL
1518 CheckPTHREAD 1512 CheckPTHREAD
1519 CheckKSTAT
1520 # Set up files for the main() stub 1513 # Set up files for the main() stub
1521 COPY_ARCH_SRC(src/main, linux, SDL_main.c) 1514 COPY_ARCH_SRC(src/main, linux, SDL_main.c)
1522 # Set up files for the audio library 1515 # Set up files for the audio library
1523 if test x$enable_audio = xyes; then 1516 if test x$enable_audio = xyes; then
1524 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT" 1517 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT"
1564 CheckNAS 1557 CheckNAS
1565 CheckX11 1558 CheckX11
1566 CheckAAlib 1559 CheckAAlib
1567 CheckOpenGL 1560 CheckOpenGL
1568 CheckPTHREAD 1561 CheckPTHREAD
1569 CheckKSTAT
1570 # Set up files for the main() stub 1562 # Set up files for the main() stub
1571 COPY_ARCH_SRC(src/main, linux, SDL_main.c) 1563 COPY_ARCH_SRC(src/main, linux, SDL_main.c)
1572 # Set up files for the audio library 1564 # Set up files for the audio library
1573 if test x$enable_audio = xyes; then 1565 if test x$enable_audio = xyes; then
1574 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT" 1566 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT"