1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +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=.
ORIGDIR=`pwd`
cd $srcdir
cd "$srcdir"
PROJECT=Transmission
GETTEXTIZE="glib-gettextize"
@ -13,7 +13,10 @@ if test $? -ne 0; then
fi
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
LIBTOOLIZE=glibtoolize
fi
@ -32,7 +35,7 @@ if test "$GETTEXTIZE"; then
intltoolize --copy --force --automake
fi
cd $ORIGDIR || exit $?
cd "$ORIGDIR" || exit $?
if test -z "$AUTOGEN_SUBDIR_MODE"; then
echo Running $srcdir/configure --enable-maintainer-mode "$@"