]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
testsuite.at: Replaced $as_echo with AS_ECHO
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 4 Jun 2024 16:48:45 +0000 (19:48 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 4 Jun 2024 16:50:50 +0000 (19:50 +0300)
* 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

index 7899a1098076371de9ec830f7ab9c05707203f58..093cf03c435c63feb27c408e0cbb58bf48c6e5d0 100644 (file)
@@ -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