Make it portable; test uses = for string comparison (not ==). Indent.

This commit is contained in:
Simon Josefsson 2010-02-23 15:27:18 +01:00
parent 3e1a95392e
commit cdc1366b2c

View File

@ -2,20 +2,15 @@
LIBTOOLIZE="libtoolize" LIBTOOLIZE="libtoolize"
if [ "x`which $LIBTOOLIZE`" == "x" ]; if [ "x`which $LIBTOOLIZE`" = "x" ]; then
then LIBTOOLIZE="glibtoolize"
LIBTOOLIZE="glibtoolize";
fi fi
if [ "x`which $LIBTOOLIZE`" == "x" ]; if [ "x`which $LIBTOOLIZE`" = "x" ]; then
then echo "Neither libtoolize nor glibtoolize could be found!"
echo "Neither libtoolize nor glibtoolize could be found!"; exit 1
exit 1
fi fi
${LIBTOOLIZE} --copy --automake --force ${LIBTOOLIZE} --copy --automake --force
${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS ${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS
${AUTOHEADER:-autoheader} ${AUTOHEADER:-autoheader}