configure.in
changeset 5411 e76c379a80ef
parent 5410 12bc832d3fa8
child 5448 8090caeed230
     1.1 --- a/configure.in	Mon Feb 28 09:06:29 2011 -0800
     1.2 +++ b/configure.in	Mon Feb 28 09:09:13 2011 -0800
     1.3 @@ -758,44 +758,6 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 -dnl Check whether we want to use Tru64 UNIX native audio or not
     1.8 -CheckMME()
     1.9 -{
    1.10 -    dnl Make sure we are running on an Tru64 UNIX
    1.11 -    case $ARCH in
    1.12 -        osf)
    1.13 -            ;;
    1.14 -        *)
    1.15 -            return
    1.16 -            ;;
    1.17 -    esac
    1.18 -    if test x$enable_audio = xyes; then
    1.19 -        AC_MSG_CHECKING(for MME audio support)
    1.20 -        MME_CFLAGS="-I/usr/include/mme"
    1.21 -        MME_LIBS="-lmme"
    1.22 -        have_mme=no
    1.23 -        save_CFLAGS="$CFLAGS"
    1.24 -        CFLAGS="$CFLAGS $MME_CFLAGS"
    1.25 -        AC_TRY_COMPILE([
    1.26 -          #include <mme_api.h>
    1.27 -        ],[
    1.28 -          HWAVEOUT sound;
    1.29 -        ],[
    1.30 -        have_mme=yes
    1.31 -        ])
    1.32 -        CFLAGS="$save_CFLAGS"
    1.33 -        AC_MSG_RESULT($have_mme)
    1.34 -        # Set up files for the audio library
    1.35 -        if test x$have_mme = xyes; then
    1.36 -            AC_DEFINE(SDL_AUDIO_DRIVER_MMEAUDIO)
    1.37 -            SOURCES="$SOURCES $srcdir/src/audio/mme/*.c"
    1.38 -            EXTRA_CFLAGS="$EXTRA_CFLAGS $MME_CFLAGS"
    1.39 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS $MME_LIBS"
    1.40 -            have_audio=yes
    1.41 -        fi
    1.42 -    fi
    1.43 -}
    1.44 -
    1.45  dnl Find the ESD includes and libraries
    1.46  CheckESD()
    1.47  {
    1.48 @@ -1072,10 +1034,6 @@
    1.49                      xss_lib='/usr/X11R6/lib/libXss.1.dylib'
    1.50                      xvidmode_lib='/usr/X11R6/lib/libXxf86vm.1.dylib'
    1.51                      ;;
    1.52 -                *-*-osf*)
    1.53 -                    x11_lib='libX11.so'
    1.54 -                    x11ext_lib='libXext.so'
    1.55 -                    ;;
    1.56                  *)
    1.57                      x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.58                      x11ext_lib=[`find_lib "libXext.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
    1.59 @@ -1619,14 +1577,6 @@
    1.60              pthread_cflags="-D_REENTRANT"
    1.61              pthread_lib="-L/usr/lib -lpthread"
    1.62              ;;
    1.63 -        *-*-osf*)
    1.64 -            pthread_cflags="-D_REENTRANT"
    1.65 -            if test x$ac_cv_prog_gcc = xyes; then
    1.66 -                pthread_lib="-lpthread -lrt"
    1.67 -            else
    1.68 -                pthread_lib="-lpthread -lexc -lrt"
    1.69 -            fi
    1.70 -            ;;
    1.71          *)
    1.72              pthread_cflags="-D_REENTRANT"
    1.73              pthread_lib="-lpthread"
    1.74 @@ -1986,7 +1936,7 @@
    1.75  
    1.76  dnl Set up the configuration based on the host platform!
    1.77  case "$host" in
    1.78 -    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-osf*|*-*-minix*)
    1.79 +    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*)
    1.80          case "$host" in
    1.81              *-*-linux*)         ARCH=linux ;;
    1.82              *-*-uclinux*)       ARCH=linux ;;
    1.83 @@ -2003,7 +1953,6 @@
    1.84              *-*-solaris*)       ARCH=solaris ;;
    1.85              *-*-hpux*)          ARCH=hpux ;;
    1.86              *-*-aix*)           ARCH=aix ;;
    1.87 -            *-*-osf*)           ARCH=osf ;;
    1.88              *-*-minix*)         ARCH=minix ;;
    1.89          esac
    1.90          CheckVisibilityHidden
    1.91 @@ -2012,7 +1961,6 @@
    1.92          CheckDummyAudio
    1.93          CheckDLOPEN
    1.94          CheckOSS
    1.95 -        CheckMME
    1.96          CheckALSA
    1.97          CheckPulseAudio
    1.98          CheckARTSC