As I have no understanding of configure files, it is unlikely that I am able to fix this by myself. Hopefully someone with better understanding can help? Otherwise lfe is going to be archived once again :-(
Here is the output of the warning:
checking top-level files ... WARNING
Output from running autoreconf:
configure.ac:37: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
tools/ax_pthread.m4:102: AX_PTHREAD is expanded from...
configure.ac:37: the top level
configure.ac:58: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:58: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:58: the top level
Here is a typical line using as_echo in the configure (not configure.ac) file:
as_echo='\\\\\'
if test -z "$BASH_VERSION$ZSH_VERSION" \
&& (test "Xprint -r -- $as_echo" = "X$as_echo") 2>/dev/null; then
as_echo='print -r --'
as_echo_n='print -rn --'
Any idea on how we can use AS_ECHO(["message"]) instead of $as_echo for such a code fragment?
CRAN maintainers warned that package lfe would be archived by 2021-11-19 if a CRAN warning was not fixed.
The warning is about the configure.ac file.
As I have no understanding of configure files, it is unlikely that I am able to fix this by myself. Hopefully someone with better understanding can help? Otherwise lfe is going to be archived once again :-(
Here is the output of the warning:
Here is a typical line using as_echo in the configure (not configure.ac) file:
Any idea on how we can use AS_ECHO(["message"]) instead of $as_echo for such a code fragment?
Thanks!