Make it portable; test uses = for string comparison (not ==). Indent.
Этот коммит содержится в:
родитель
3e1a95392e
Коммит
cdc1366b2c
15
buildconf
15
buildconf
@ -2,20 +2,15 @@
|
||||
|
||||
LIBTOOLIZE="libtoolize"
|
||||
|
||||
if [ "x`which $LIBTOOLIZE`" == "x" ];
|
||||
then
|
||||
LIBTOOLIZE="glibtoolize";
|
||||
if [ "x`which $LIBTOOLIZE`" = "x" ]; then
|
||||
LIBTOOLIZE="glibtoolize"
|
||||
fi
|
||||
|
||||
if [ "x`which $LIBTOOLIZE`" == "x" ];
|
||||
then
|
||||
echo "Neither libtoolize nor glibtoolize could be found!";
|
||||
exit 1
|
||||
if [ "x`which $LIBTOOLIZE`" = "x" ]; then
|
||||
echo "Neither libtoolize nor glibtoolize could be found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
${LIBTOOLIZE} --copy --automake --force
|
||||
${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS
|
||||
${AUTOHEADER:-autoheader}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user