From 52ef6f666a4fb46b693c81dc7a44612e6b78239d Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 14 Feb 2012 21:59:38 +0000 Subject: Use AS_ECHO rather than AS_ECHO_N in XORG_TESTSET_CFLAG The AS_ECHO_N macro was only introduced in autoconf 2.62. Backticks remove trailing newlines, so we don't need to use echo -n Signed-off-by: Jon TURNEY Reviewed-by: Gaetan Nadon --- xorg-macros.m4.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 9e6acf5..8550ca0 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -1495,7 +1495,7 @@ m4_foreach([flag], m4_cdr($@), [ dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname AC_MSG_CHECKING([if $CC supports ]flag[]) - cacheid=`AS_ECHO_N([xorg_cv_cc_flag_]flag[])` + cacheid=`AS_ECHO([xorg_cv_cc_flag_]flag[])` AC_CACHE_VAL(AS_TR_SH($cacheid), [AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])], [eval AS_TR_SH($cacheid)=yes], -- cgit v1.2.3