summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac10
-rw-r--r--m4/efl.m49
2 files changed, 9 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 9573bd8732..efbefc2306 100644
--- a/configure.ac
+++ b/configure.ac
@@ -271,16 +271,6 @@ fi
271 271
272AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"]) 272AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
273 273
274### echo compatibility
275
276## the BSD echo does not have the -e option (it is the default behaviour)
277echo_e=
278if test "`echo -e x`" = "x"; then
279 echo_e=-e
280fi
281AC_SUBST([ECHO_E], [${echo_e}])
282
283
284### compilers 274### compilers
285 275
286AC_PROG_MKDIR_P 276AC_PROG_MKDIR_P
diff --git a/m4/efl.m4 b/m4/efl.m4
index aa6de2afab..3598ce78fe 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -57,6 +57,15 @@ case "$TERM" in
57 ;; 57 ;;
58esac 58esac
59 59
60### echo compatibility
61
62## the BSD echo does not have the -e option (it is the default behaviour)
63echo_e=
64if test "`echo -e x`" = "x"; then
65 echo_e=-e
66fi
67AC_SUBST([ECHO_E], [${echo_e}])
68
60if test "${want_color}" = "yes"; then 69if test "${want_color}" = "yes"; then
61 COLOR_YES=`echo $echo_e "\033@<:@1;32m"` 70 COLOR_YES=`echo $echo_e "\033@<:@1;32m"`
62 COLOR_NO=`echo $echo_e "\033@<:@1;31m"` 71 COLOR_NO=`echo $echo_e "\033@<:@1;31m"`