configure
changeset 5411 e76c379a80ef
parent 5410 12bc832d3fa8
child 5449 1a6f882e4a55
     1.1 --- a/configure	Mon Feb 28 09:06:29 2011 -0800
     1.2 +++ b/configure	Mon Feb 28 09:09:13 2011 -0800
     1.3 @@ -21628,87 +21628,6 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 -CheckMME()
     1.8 -{
     1.9 -        case $ARCH in
    1.10 -        osf)
    1.11 -            ;;
    1.12 -        *)
    1.13 -            return
    1.14 -            ;;
    1.15 -    esac
    1.16 -    if test x$enable_audio = xyes; then
    1.17 -        { echo "$as_me:$LINENO: checking for MME audio support" >&5
    1.18 -echo $ECHO_N "checking for MME audio support... $ECHO_C" >&6; }
    1.19 -        MME_CFLAGS="-I/usr/include/mme"
    1.20 -        MME_LIBS="-lmme"
    1.21 -        have_mme=no
    1.22 -        save_CFLAGS="$CFLAGS"
    1.23 -        CFLAGS="$CFLAGS $MME_CFLAGS"
    1.24 -        cat >conftest.$ac_ext <<_ACEOF
    1.25 -/* confdefs.h.  */
    1.26 -_ACEOF
    1.27 -cat confdefs.h >>conftest.$ac_ext
    1.28 -cat >>conftest.$ac_ext <<_ACEOF
    1.29 -/* end confdefs.h.  */
    1.30 -
    1.31 -          #include <mme_api.h>
    1.32 -
    1.33 -int
    1.34 -main ()
    1.35 -{
    1.36 -
    1.37 -          HWAVEOUT sound;
    1.38 -
    1.39 -  ;
    1.40 -  return 0;
    1.41 -}
    1.42 -_ACEOF
    1.43 -rm -f conftest.$ac_objext
    1.44 -if { (ac_try="$ac_compile"
    1.45 -case "(($ac_try" in
    1.46 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1.47 -  *) ac_try_echo=$ac_try;;
    1.48 -esac
    1.49 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    1.50 -  (eval "$ac_compile") 2>conftest.er1
    1.51 -  ac_status=$?
    1.52 -  grep -v '^ *+' conftest.er1 >conftest.err
    1.53 -  rm -f conftest.er1
    1.54 -  cat conftest.err >&5
    1.55 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1.56 -  (exit $ac_status); } && {
    1.57 -	 test -z "$ac_c_werror_flag" ||
    1.58 -	 test ! -s conftest.err
    1.59 -       } && test -s conftest.$ac_objext; then
    1.60 -
    1.61 -        have_mme=yes
    1.62 -
    1.63 -else
    1.64 -  echo "$as_me: failed program was:" >&5
    1.65 -sed 's/^/| /' conftest.$ac_ext >&5
    1.66 -
    1.67 -
    1.68 -fi
    1.69 -
    1.70 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1.71 -        CFLAGS="$save_CFLAGS"
    1.72 -        { echo "$as_me:$LINENO: result: $have_mme" >&5
    1.73 -echo "${ECHO_T}$have_mme" >&6; }
    1.74 -        # Set up files for the audio library
    1.75 -        if test x$have_mme = xyes; then
    1.76 -            cat >>confdefs.h <<\_ACEOF
    1.77 -#define SDL_AUDIO_DRIVER_MMEAUDIO 1
    1.78 -_ACEOF
    1.79 -
    1.80 -            SOURCES="$SOURCES $srcdir/src/audio/mme/*.c"
    1.81 -            EXTRA_CFLAGS="$EXTRA_CFLAGS $MME_CFLAGS"
    1.82 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS $MME_LIBS"
    1.83 -            have_audio=yes
    1.84 -        fi
    1.85 -    fi
    1.86 -}
    1.87 -
    1.88  CheckESD()
    1.89  {
    1.90      # Check whether --enable-esd was given.
    1.91 @@ -24020,10 +23939,6 @@
    1.92                      xss_lib='/usr/X11R6/lib/libXss.1.dylib'
    1.93                      xvidmode_lib='/usr/X11R6/lib/libXxf86vm.1.dylib'
    1.94                      ;;
    1.95 -                *-*-osf*)
    1.96 -                    x11_lib='libX11.so'
    1.97 -                    x11ext_lib='libXext.so'
    1.98 -                    ;;
    1.99                  *)
   1.100                      x11_lib=`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`
   1.101                      x11ext_lib=`find_lib "libXext.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`
   1.102 @@ -25766,14 +25681,6 @@
   1.103              pthread_cflags="-D_REENTRANT"
   1.104              pthread_lib="-L/usr/lib -lpthread"
   1.105              ;;
   1.106 -        *-*-osf*)
   1.107 -            pthread_cflags="-D_REENTRANT"
   1.108 -            if test x$ac_cv_c_compiler_gnu = xyes; then
   1.109 -                pthread_lib="-lpthread -lrt"
   1.110 -            else
   1.111 -                pthread_lib="-lpthread -lexc -lrt"
   1.112 -            fi
   1.113 -            ;;
   1.114          *)
   1.115              pthread_cflags="-D_REENTRANT"
   1.116              pthread_lib="-lpthread"
   1.117 @@ -28242,7 +28149,7 @@
   1.118  }
   1.119  
   1.120  case "$host" in
   1.121 -    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-osf*|*-*-minix*)
   1.122 +    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*)
   1.123          case "$host" in
   1.124              *-*-linux*)         ARCH=linux ;;
   1.125              *-*-uclinux*)       ARCH=linux ;;
   1.126 @@ -28259,7 +28166,6 @@
   1.127              *-*-solaris*)       ARCH=solaris ;;
   1.128              *-*-hpux*)          ARCH=hpux ;;
   1.129              *-*-aix*)           ARCH=aix ;;
   1.130 -            *-*-osf*)           ARCH=osf ;;
   1.131              *-*-minix*)         ARCH=minix ;;
   1.132          esac
   1.133          CheckVisibilityHidden
   1.134 @@ -28268,7 +28174,6 @@
   1.135          CheckDummyAudio
   1.136          CheckDLOPEN
   1.137          CheckOSS
   1.138 -        CheckMME
   1.139          CheckALSA
   1.140          CheckPulseAudio
   1.141          CheckARTSC