Ticket #29434: patch-autogen.sh.diff
File patch-autogen.sh.diff, 1.1 KB (added by tael67@…, 14 years ago) |
---|
-
.sh
old new 18 18 DIE=1 19 19 } 20 20 21 if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then 21 if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then 22 AUTOMAKE=automake-1.11 23 ACLOCAL=aclocal-1.11 24 elif automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then 22 25 AUTOMAKE=automake-1.10 23 26 ACLOCAL=aclocal-1.10 24 27 elif automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then … … 38 41 DIE=1 39 42 fi 40 43 41 ( libtool --version) < /dev/null > /dev/null 2>&1 || {44 (glibtool --version) < /dev/null > /dev/null 2>&1 || { 42 45 echo 43 46 echo "You must have libtool installed to compile $PROJECT." 44 47 echo "Get http://ftp.gnu.org/gnu/libtool/libtool-1.5.22.tar.gz" … … 49 52 exit 1 50 53 fi 51 54 52 libtoolize --force --copy 55 glibtoolize --force --copy --quiet 53 56 54 57 $ACLOCAL $ACLOCAL_FLAGS 55 58 autoheader 56 $AUTOMAKE --add-missing 59 $AUTOMAKE --add-missing < /dev/null > /dev/null 2>&1 57 60 autoconf 58 61 cd $THEDIR 59 62 60 63 $srcdir/configure --enable-maintainer-mode "$@" 61 62 echo63 echo "Now type 'make' to compile $PROJECT"