diff options
-rw-r--r-- | configure.ac | 10 | ||||
-rw-r--r-- | m4/efl.m4 | 9 |
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 | ||
272 | AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"]) | 272 | AM_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) | ||
277 | echo_e= | ||
278 | if test "`echo -e x`" = "x"; then | ||
279 | echo_e=-e | ||
280 | fi | ||
281 | AC_SUBST([ECHO_E], [${echo_e}]) | ||
282 | |||
283 | |||
284 | ### compilers | 274 | ### compilers |
285 | 275 | ||
286 | AC_PROG_MKDIR_P | 276 | AC_PROG_MKDIR_P |
@@ -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"` |