From 5e321c80cf62dc6924c9fed80af73998b78c9c7d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 5 Sep 2021 15:01:08 +0200 Subject: [PATCH] Update `$as_echo_n` -> `AS_ECHO_N` --- m4/extra_pkg.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/extra_pkg.m4 b/m4/extra_pkg.m4 index ce4ecb8e..8a04c359 100644 --- a/m4/extra_pkg.m4 +++ b/m4/extra_pkg.m4 @@ -55,10 +55,10 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [puts ("")])], pkg_link= CFLAGS=$pkg_link_saved_CFLAGS LIBS=$pkg_link_saved_LIBS -if test $pkg_link = no ; then - $as_echo_n "link failed ... " +AS_IF([test x$pkg_link = xno], [ + AS_ECHO_N(["link failed ... "]) pkg_failed=yes - fi +]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config.