Fixes the error message printed when a component (call it 'foo') is
authormichaelld <michaelld@221aa14e-8319-0410-a670-987f0aec2ac5>
Fri, 27 Feb 2009 03:35:20 +0000 (03:35 +0000)
committermichaelld <michaelld@221aa14e-8319-0410-a670-987f0aec2ac5>
Fri, 27 Feb 2009 03:35:20 +0000 (03:35 +0000)
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

index bf33d0da23e6ed076372b1bf3624b51240da9717..77b59db6bd743f3fab34801e04f16b7054c1fc0e 100644 (file)
@@ -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