call AC_MSG_RESULT for each tested library
[fw/sdcc] / debugger / mcs51 / acinclude.m4
index cad710b9c03d28f4375cacc6d4a879df1cc7e7bb..7c436e51e118dc595b4ee250a4c1080d5cbce442 100644 (file)
@@ -54,14 +54,13 @@ EOF
         rl_function_of_keyseq(NULL, NULL, NULL);
       ],[
         wi_cv_lib_readline=yes
-        wi_cv_lib_readline_result=yes
+        AC_MSG_RESULT(yes)
       ],[
         wi_cv_lib_readline=no
-        wi_cv_lib_readline_result=no
+        AC_MSG_RESULT(no)
       ])
 
       if test "$wi_cv_lib_readline" = yes; then
-        AC_MSG_RESULT($wi_cv_lib_readline_result)
         AC_SUBST(LIBREADLINE)
         AC_DEFINE_UNQUOTED(HAVE_LIBREADLINE, $wi_READLINE_VERSION, [Readline])
         break