diff options
Diffstat (limited to 'm4/efl.m4')
-rw-r--r-- | m4/efl.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -57,6 +57,15 @@ case "$TERM" in | |||
57 | ;; | 57 | ;; |
58 | esac | 58 | esac |
59 | 59 | ||
60 | ### echo compatibility | ||
61 | |||
62 | ## the BSD echo does not have the -e option (it is the default behaviour) | ||
63 | echo_e= | ||
64 | if test "`echo -e x`" = "x"; then | ||
65 | echo_e=-e | ||
66 | fi | ||
67 | AC_SUBST([ECHO_E], [${echo_e}]) | ||
68 | |||
60 | if test "${want_color}" = "yes"; then | 69 | if 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"` |