configure
changeset 12248 a65c2e471570
parent 12245 0c1c3e41a6f2
child 12249 4f358c108da1
     1.1 --- a/configure	Fri Sep 28 01:18:54 2018 -0700
     1.2 +++ b/configure	Fri Sep 28 11:30:50 2018 +0300
     1.3 @@ -23165,20 +23165,6 @@
     1.4  fi
     1.5  
     1.6  
     1.7 -        ac_fn_c_check_header_mongrel "$LINENO" "mmdeviceapi.h" "ac_cv_header_mmdeviceapi_h" "$ac_includes_default"
     1.8 -if test "x$ac_cv_header_mmdeviceapi_h" = xyes; then :
     1.9 -  have_wasapi=yes
    1.10 -fi
    1.11 -
    1.12 -
    1.13 -        ac_fn_c_check_header_mongrel "$LINENO" "audioclient.h" "ac_cv_header_audioclient_h" "$ac_includes_default"
    1.14 -if test "x$ac_cv_header_audioclient_h" = xyes; then :
    1.15 -
    1.16 -else
    1.17 -  have_wasapi=no
    1.18 -fi
    1.19 -
    1.20 -
    1.21          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.22  /* end confdefs.h.  */
    1.23  
    1.24 @@ -23257,14 +23243,6 @@
    1.25          SUMMARY_video="${SUMMARY_video} directx"
    1.26          SUMMARY_audio="${SUMMARY_audio} directx"
    1.27  
    1.28 -        # Check whether --enable-wasapi was given.
    1.29 -if test "${enable_wasapi+set}" = set; then :
    1.30 -  enableval=$enable_wasapi;
    1.31 -else
    1.32 -  enable_wasapi=yes
    1.33 -fi
    1.34 -
    1.35 -
    1.36          # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
    1.37          # FIXME:  ...so force it off for now.
    1.38          case "$host" in
    1.39 @@ -23273,6 +23251,28 @@
    1.40              ;;
    1.41          esac
    1.42      fi
    1.43 +
    1.44 +    ac_fn_c_check_header_mongrel "$LINENO" "mmdeviceapi.h" "ac_cv_header_mmdeviceapi_h" "$ac_includes_default"
    1.45 +if test "x$ac_cv_header_mmdeviceapi_h" = xyes; then :
    1.46 +  have_wasapi=yes
    1.47 +fi
    1.48 +
    1.49 +
    1.50 +    ac_fn_c_check_header_mongrel "$LINENO" "audioclient.h" "ac_cv_header_audioclient_h" "$ac_includes_default"
    1.51 +if test "x$ac_cv_header_audioclient_h" = xyes; then :
    1.52 +
    1.53 +else
    1.54 +  have_wasapi=no
    1.55 +fi
    1.56 +
    1.57 +
    1.58 +    # Check whether --enable-wasapi was given.
    1.59 +if test "${enable_wasapi+set}" = set; then :
    1.60 +  enableval=$enable_wasapi;
    1.61 +else
    1.62 +  enable_wasapi=yes
    1.63 +fi
    1.64 +
    1.65  }
    1.66  
    1.67  CheckDLOPEN()