summaryrefslogtreecommitdiffstats
path: root/aclocal/check-rdbg.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/check-rdbg.m4')
-rw-r--r--aclocal/check-rdbg.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/aclocal/check-rdbg.m4 b/aclocal/check-rdbg.m4
index 17fc09bee2..0e38b59593 100644
--- a/aclocal/check-rdbg.m4
+++ b/aclocal/check-rdbg.m4
@@ -24,18 +24,14 @@ AC_CACHE_CHECK([whether BSP supports librdbg],
B=`basename ${i} .cfg`;
C="${C} ${B}";
done
- target_found="no";
+ rtems_cv_HAS_RDBG="no";
for j in ${C} ;
do
if test "${$1}" = "${j}" ;
then
- target_found="yes";
+ rtems_cv_HAS_RDBG="yes";
fi
done
- if test "$target_found" = "yes" ;
- then
- rtems_cv_HAS_RDBG="yes" ;
- fi
else
rtems_cv_HAS_RDBG="no";
fi