branch development updated: testsuite.at: Replaced $as_echo with AS_ECHO

Ileana Dumitrescu <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new d5769d0d testsuite.at: Replaced $as_echo with AS_ECHO
d5769d0d is described below

commit d5769d0d39a0151da41fe19cc6bcc12f9b24f3f4
Author: Ileana Dumitrescu <[email protected]>
AuthorDate: Tue Jun 4 19:48:45 2024 +0300

    testsuite.at: Replaced $as_echo with AS_ECHO
    
    * testsuite.at: $as_echo was deprecated in Autoconf commit 2b59b6f8a.
      AS_ECHO uses printf which has been well supported for 15 to 20
      years. Use of $as_echo was resulting in a warning message in the
      testsuite logs, and replacing the deprecated macro removes the
      warning messages.
---
 tests/testsuite.at | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/testsuite.at b/tests/testsuite.at
index 7899a109..093cf03c 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -29,8 +29,7 @@ m4_divert_push([PREPARE_TESTS])dnl
 : ${AUTOCONF=autoconf}
 : ${AUTOMAKE=automake}
 : ${AUTORECONF=autoreconf}
-test set = "${ECHO+set}" || ECHO=${as_echo-'printf %s\n'}
-: ${ECHO=$as_echo}
+: ${ECHO=AS_ECHO}
 for tool in ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE AUTORECONF; do
   if eval \$$tool --version >/dev/null 2>&1; then :; else eval $tool=no; fi
 done
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.