Permalink
Browse files

Remove -e echo option because it's not portable

  • Loading branch information...
1 parent 8fafd93 commit a21d844c9ca6760540a7d65a55f3e5126a7b876e @kou kou committed Aug 10, 2012
Showing with 11 additions and 11 deletions.
  1. +11 −11 autogen.sh
View
22 autogen.sh
@@ -1,7 +1,7 @@
#!/bin/sh
warn() {
- echo -e "\tWARNING: $@" 1>&2
+ echo "\tWARNING: $@" 1>&2
}
# init
@@ -35,13 +35,13 @@ esac
# libtoolize
echo "Searching libtoolize..."
if [ `which $LIBTOOLIZE` ] ; then
- echo -e "\tFOUND: libtoolize -> $LIBTOOLIZE"
+ echo "\tFOUND: libtoolize -> $LIBTOOLIZE"
else
warn "Cannot Found libtoolize... input libtool command"
read LIBTOOLIZE
LIBTOOLIZE=`which $LIBTOOLIZE`
if [ `which $LIBTOOLIZE` ] ; then
- echo -e "\tSET: libtoolize -> $LIBTOOLIZE"
+ echo "\tSET: libtoolize -> $LIBTOOLIZE"
else
warn "$LIBTOOLIZE: Command not found."
exit 1;
@@ -51,13 +51,13 @@ fi
# aclocal
echo "Searching aclocal..."
if [ `which $ACLOCAL` ] ; then
- echo -e "\tFOUND: aclocal -> $ACLOCAL"
+ echo "\tFOUND: aclocal -> $ACLOCAL"
else
warn "Cannot Found aclocal... input aclocal command"
read ACLOCAL
ACLOCAL=`which $ACLOCAL`
if [ `which $ACLOCAL` ] ; then
- echo -e "\tSET: aclocal -> $ACLOCAL"
+ echo "\tSET: aclocal -> $ACLOCAL"
else
warn "$ACLOCAL: Command not found."
exit 1;
@@ -67,13 +67,13 @@ fi
# automake
echo "Searching automake..."
if [ `which $AUTOMAKE` ] ; then
- echo -e "\tFOUND: automake -> $AUTOMAKE"
+ echo "\tFOUND: automake -> $AUTOMAKE"
else
warn "Cannot Found automake... input automake command"
read AUTOMAKE
ACLOCAL=`which $AUTOMAKE`
if [ `which $AUTOMAKE` ] ; then
- echo -e "\tSET: automake -> $AUTOMAKE"
+ echo "\tSET: automake -> $AUTOMAKE"
else
warn "$AUTOMAKE: Command not found."
exit 1;
@@ -83,13 +83,13 @@ fi
# autoheader
echo "Searching autoheader..."
if [ `which $AUTOHEADER` ] ; then
- echo -e "\tFOUND: autoheader -> $AUTOHEADER"
+ echo "\tFOUND: autoheader -> $AUTOHEADER"
else
warn "Cannot Found autoheader... input autoheader command"
read AUTOHEADER
ACLOCAL=`which $AUTOHEADER`
if [ `which $AUTOHEADER` ] ; then
- echo -e "\tSET: autoheader -> $AUTOHEADER"
+ echo "\tSET: autoheader -> $AUTOHEADER"
else
warn "$AUTOHEADER: Command not found."
exit 1;
@@ -99,13 +99,13 @@ fi
# autoconf
echo "Searching autoconf..."
if [ `which $AUTOCONF` ] ; then
- echo -e "\tFOUND: autoconf -> $AUTOCONF"
+ echo "\tFOUND: autoconf -> $AUTOCONF"
else
warn "Cannot Found autoconf... input autoconf command"
read AUTOCONF
ACLOCAL=`which $AUTOCONF`
if [ `which $AUTOCONF` ] ; then
- echo -e "\tSET: autoconf -> $AUTOCONF"
+ echo "\tSET: autoconf -> $AUTOCONF"
else
warn "$AUTOCONF: Command not found."
exit 1;

0 comments on commit a21d844

Please sign in to comment.