configure.in
changeset 166 39877400bd1e
parent 158 4382c38dfbee
child 167 cb384ef627f6
     1.1 --- a/configure.in	Tue Sep 04 22:38:01 2001 +0000
     1.2 +++ b/configure.in	Tue Sep 04 22:48:09 2001 +0000
     1.3 @@ -1196,20 +1196,14 @@
     1.4      # and what runs on older Macs - while in theory "Carbon" defns
     1.5      # are consistent between the two, in practice Carbon is still
     1.6      # changing. -sts Aug 2000
     1.7 +    mac_autoconf_target_workaround="MAC"
     1.8      CFLAGS="$CFLAGS -I/System/Library/Frameworks/Carbon.framework/Headers \
     1.9        -I/System/Library/Frameworks/Cocoa.framework/Headers -fpascal-strings \
    1.10 -      -DENABLE_QUARTZ -DMACOSX -DTARGET_API_MAC_CARBON=1 -I\$(top_srcdir)/src/video/quartz"
    1.11 +      -DENABLE_QUARTZ -DMACOSX -DTARGET_API_${mac_autoconf_target_workaround}_CARBON=1 -I\$(top_srcdir)/src/video/quartz"
    1.12      VIDEO_SUBDIRS="$VIDEO_SUBDIRS quartz"
    1.13      VIDEO_DRIVERS="$VIDEO_DRIVERS quartz/libvideo_quartz.la"
    1.14  }
    1.15  
    1.16 -dnl Set up the kernel statistics library for Solaris
    1.17 -CheckKSTAT()
    1.18 -{
    1.19 -    CFLAGS="$CFLAGS -DHAVE_KSTAT"
    1.20 -    SYSTEM_LIBS="$SYSTEM_LIBS -lkstat"
    1.21 -}
    1.22 -
    1.23  case "$target" in
    1.24      *-*-linux*)
    1.25          ARCH=linux
    1.26 @@ -1516,7 +1510,6 @@
    1.27          CheckAAlib
    1.28          CheckOpenGL
    1.29          CheckPTHREAD
    1.30 -        CheckKSTAT
    1.31          # Set up files for the main() stub
    1.32          COPY_ARCH_SRC(src/main, linux, SDL_main.c)
    1.33          # Set up files for the audio library
    1.34 @@ -1566,7 +1559,6 @@
    1.35          CheckAAlib
    1.36          CheckOpenGL
    1.37          CheckPTHREAD
    1.38 -        CheckKSTAT
    1.39          # Set up files for the main() stub
    1.40          COPY_ARCH_SRC(src/main, linux, SDL_main.c)
    1.41          # Set up files for the audio library