+ GRC_ENABLE(gr-audio-windows)
+
+ dnl Don't do gr-audio-windows if gnuradio-core skipped
+ GRC_CHECK_DEPENDENCY(gr-audio-windows, gnuradio-core)
+
+ dnl If execution gets to here, $passed will be:
+ dnl with : if the --with code didn't error out
+ dnl yes : if the --enable code passed muster and all dependencies are met
+ dnl no : otherwise
+ if test $passed = yes; then
+ case "$host_os" in
+ cygwin*|win*|mingw*)
+ dnl Don't do gr-audio-windows if the 'winmm' library isn't available.
+ AC_HAVE_LIBRARY(winmm, [],
+ [passed=no;AC_MSG_RESULT([gr-audio-windows requires library winmm, not found.])])
+ ;;
+ *)
+ AC_MSG_RESULT([gr-audio-windows will build on a Windows Unix environment only.])
+ passed=no
+ ;;
+ esac
+ fi