From 49af128d5c1ddac5856a8c018bc2924715301a9b Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 27 Aug 2014 23:22:10 +0200 Subject: [PATCH] autotools: actually put the macro at the right place. --- configure.ac | 10 ---------- m4/efl.m4 | 9 +++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 9573bd8..efbefc2 100644 --- a/configure.ac +++ b/configure.ac @@ -271,16 +271,6 @@ fi AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"]) -### echo compatibility - -## the BSD echo does not have the -e option (it is the default behaviour) -echo_e= -if test "`echo -e x`" = "x"; then - echo_e=-e -fi -AC_SUBST([ECHO_E], [${echo_e}]) - - ### compilers AC_PROG_MKDIR_P diff --git a/m4/efl.m4 b/m4/efl.m4 index aa6de2a..3598ce7 100644 --- a/m4/efl.m4 +++ b/m4/efl.m4 @@ -57,6 +57,15 @@ case "$TERM" in ;; esac +### echo compatibility + +## the BSD echo does not have the -e option (it is the default behaviour) +echo_e= +if test "`echo -e x`" = "x"; then + echo_e=-e +fi +AC_SUBST([ECHO_E], [${echo_e}]) + if test "${want_color}" = "yes"; then COLOR_YES=`echo $echo_e "\033@<:@1;32m"` COLOR_NO=`echo $echo_e "\033@<:@1;31m"` -- 2.7.4