From d31a4ee4ce385907a9886f9796cbe379f95ca8c9 Mon Sep 17 00:00:00 2001
From: michaelld <michaelld@221aa14e-8319-0410-a670-987f0aec2ac5>
Date: Fri, 27 Feb 2009 03:35:20 +0000
Subject: Fixes the error message printed when a component (call it 'foo') is
 configured using --with-foo , but a dependency of this with-component (call
 the dependency 'bar') was not configured using --with-bar (either it was
 included using --enable-bar , or not included at all). Simple change, complex
 explanation ;)

git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10531 221aa14e-8319-0410-a670-987f0aec2ac5
---
 config/grc_build.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'config')

diff --git a/config/grc_build.m4 b/config/grc_build.m4
index bf33d0da23..77b59db6bd 100644
--- a/config/grc_build.m4
+++ b/config/grc_build.m4
@@ -1,4 +1,4 @@
-dnl Copyright 2006,2008 Free Software Foundation, Inc.
+dnl Copyright 2006,2008,2009 Free Software Foundation, Inc.
 dnl 
 dnl This file is part of GNU Radio
 dnl 
@@ -201,7 +201,7 @@ dnl    echo
         else
             dnl make sure this dependency was --with'd only; not --enable'd
             if test [x$]m4_bpatsubst($2,-,_)[_with] = xno; then
-                AC_MSG_ERROR([Component $1 requires $2 to be included as --with-$1@<:@=arg@:>@])
+                AC_MSG_ERROR([Component $1 requires $2 to be included as --with-$2@<:@=arg@:>@])
             fi
         fi
     fi
-- 
cgit v1.2.3