summaryrefslogtreecommitdiff
path: root/config/grc_gr_audio_oss.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/grc_gr_audio_oss.m4')
-rw-r--r--config/grc_gr_audio_oss.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/config/grc_gr_audio_oss.m4 b/config/grc_gr_audio_oss.m4
index 12190bed0..386df51d8 100644
--- a/config/grc_gr_audio_oss.m4
+++ b/config/grc_gr_audio_oss.m4
@@ -1,4 +1,4 @@
-dnl Copyright 2001,2002,2003,2004,2005,2006 Free Software Foundation, Inc.
+dnl Copyright 2001,2002,2003,2004,2005,2006,2008 Free Software Foundation, Inc.
dnl
dnl This file is part of GNU Radio
dnl
@@ -27,6 +27,12 @@ AC_DEFUN([GRC_GR_AUDIO_OSS],[
])
passed=yes
+ # Don't do gr-audio-oss if gnuradio-core skipped
+ if test x$gnuradio_core_skipped = xyes; then
+ AC_MSG_RESULT([Component gr-audio-oss requires gnuradio-core, which is not being built or specified via pre-installed files.])
+ passed=no
+ fi
+ # Make sure the correct library and/or headers are available.
case $host in
*-*-netbsd*)
AC_HAVE_LIBRARY(ossaudio,[],