autotools: actually put the macro at the right place.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 27 Aug 2014 21:22:10 +0000 (23:22 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 27 Aug 2014 21:22:57 +0000 (23:22 +0200)
configure.ac
m4/efl.m4

index 9573bd8..efbefc2 100644 (file)
@@ -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
index aa6de2a..3598ce7 100644 (file)
--- 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"`