diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-02-14 21:59:38 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-02-19 15:14:59 +0000 |
commit | 52ef6f666a4fb46b693c81dc7a44612e6b78239d (patch) | |
tree | e894d6d7a03053bf0e6d86f26a5a32e1a8f0ccaa /xorg-macros.m4.in | |
parent | a1809fde56e45639556a44fd3c3ef9213204c5a9 (diff) |
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 <jon.turney@dronecode.org.uk>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'xorg-macros.m4.in')
-rw-r--r-- | xorg-macros.m4.in | 2 |
1 files changed, 1 insertions, 1 deletions
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], |