1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

autogen.sh cleanups by Triskelios

This commit is contained in:
Charles Kerr 2008-05-27 21:49:09 +00:00
parent 9694ed9fe0
commit d29ad812f4

View file

@ -3,7 +3,7 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=. test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd` ORIGDIR=`pwd`
cd $srcdir cd "$srcdir"
PROJECT=Transmission PROJECT=Transmission
GETTEXTIZE="glib-gettextize" GETTEXTIZE="glib-gettextize"
@ -13,7 +13,10 @@ if test $? -ne 0; then
fi fi
LIBTOOLIZE=libtoolize LIBTOOLIZE=libtoolize
if ! libtoolize --help >/dev/null 2>&1 && glibtoolize --help >/dev/null 2>&1 if libtoolize --help >/dev/null 2>&1
then
:
elif glibtoolize --help >/dev/null 2>&1
then then
LIBTOOLIZE=glibtoolize LIBTOOLIZE=glibtoolize
fi fi
@ -32,7 +35,7 @@ if test "$GETTEXTIZE"; then
intltoolize --copy --force --automake intltoolize --copy --force --automake
fi fi
cd $ORIGDIR || exit $? cd "$ORIGDIR" || exit $?
if test -z "$AUTOGEN_SUBDIR_MODE"; then if test -z "$AUTOGEN_SUBDIR_MODE"; then
echo Running $srcdir/configure --enable-maintainer-mode "$@" echo Running $srcdir/configure --enable-maintainer-mode "$@"