+ GRC_ENABLE(gr-audio-portaudio)
+
+ dnl Don't do gr-audio-portaudio if gnuradio-core skipped
+ GRC_CHECK_DEPENDENCY(gr-audio-portaudio, 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
+ dnl Don't do gr-audio-portaudio if the 'portaudio' library is unavailable.
+ PKG_CHECK_MODULES(PORTAUDIO, portaudio-2.0 >= 19,[],
+ [passed=no;AC_MSG_RESULT([gr-audio-portaudio requires package portaudio, not found.])])
+ fi