forked from enlightenment/efl
autotools: actually put the macro at the right place.
This commit is contained in:
parent
b50813f6e5
commit
49af128d5c
10
configure.ac
10
configure.ac
|
@ -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
|
||||
|
|
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue