summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>2014-03-14 11:50:10 -0300
committerGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>2014-03-14 11:52:48 -0300
commit36d542f84e4c27134a0ac2237b0dcd3e18a4d91d (patch)
tree83e8bfb5ebcca50e386195c3346ced1cccf51a44
parent5ca6eaf41817064b5de02ecbdfcff20cdca39fc1 (diff)
m4/ac-plugins: evaluate color escape so it works everywhere.
the color escapes were being evaluated only on "echo -e", but we're using it in "cat" statements as well. Then evaluate the color escape so it will work everywhere.
-rw-r--r--m4/ac-plugins.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ac-plugins.m4 b/m4/ac-plugins.m4
index 82c2e2f..62021cd 100644
--- a/m4/ac-plugins.m4
+++ b/m4/ac-plugins.m4
@@ -3,7 +3,7 @@ define([_XTERM_COLORS],
3[ 3[
4 # Check for XTerm and define some colors 4 # Check for XTerm and define some colors
5 if test "x$TERM" = "xxterm" -o "x$TERM" = "xscreen"; then 5 if test "x$TERM" = "xxterm" -o "x$TERM" = "xscreen"; then
6 COLOR_PREF="\0033\0133" 6 COLOR_PREF=`echo -e "\0033\0133"`
7 COLOR_H="${COLOR_PREF}1m" 7 COLOR_H="${COLOR_PREF}1m"
8 COLOR_HGREEN="${COLOR_PREF}1;32m" 8 COLOR_HGREEN="${COLOR_PREF}1;32m"
9 COLOR_HRED="${COLOR_PREF}1;31m" 9 COLOR_HRED="${COLOR_PREF}1;31m"