summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/efl.m422
1 files changed, 12 insertions, 10 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index 5c75ab3a8..e6438a888 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -57,18 +57,20 @@ case "$TERM" in
57 ;; 57 ;;
58esac 58esac
59 59
60if test "${want_color}" = "yes"; then 60### echo compatibility
61 if test `echo -e x` = x; then
62 echoopt=-e
63 else
64 echoopt=
65 fi
66 61
67 COLOR_YES=`echo $echoopt "\033@<:@1;32m"` 62## the BSD echo does not have the -e option (it is the default behaviour)
68 COLOR_NO=`echo $echoopt "\033@<:@1;31m"` 63echo_e=
69 COLOR_OTHER=`echo $echoopt "\033@<:@1;36m"` 64if test "`echo -e x`" = "x"; then
70 COLOR_RESET=`echo $echoopt "\033@<:@0m"` 65 echo_e=-e
66fi
67AC_SUBST([ECHO_E], [${echo_e}])
71 68
69if test "${want_color}" = "yes"; then
70 COLOR_YES=`echo $echo_e "\033@<:@1;32m"`
71 COLOR_NO=`echo $echo_e "\033@<:@1;31m"`
72 COLOR_OTHER=`echo $echo_e "\033@<:@1;36m"`
73 COLOR_RESET=`echo $echo_e "\033@<:@0m"`
72else 74else
73 COLOR_YES="" 75 COLOR_YES=""
74 COLOR_NO="" 76 COLOR_NO=""