Make it portable; test uses = for string comparison (not ==). Indent.
This commit is contained in:
parent
3e1a95392e
commit
cdc1366b2c
15
buildconf
15
buildconf
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user