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