source: trunk/dports/gnome/gtk-quartz-engine/files/patch-autogen.sh.diff @ 123057

Last change on this file since 123057 was 123057, checked in by devans@…, 5 years ago

gtk-quartz-engine: expand automake check in autogen.sh to include 1.13 and 1.14 (#44540).

File size: 1.5 KB
  • autogen.sh

    old new  
    1818        DIE=1
    1919}
    2020
    21 if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
     21if automake-1.14 --version < /dev/null > /dev/null 2>&1 ; then
     22    AUTOMAKE=automake-1.14
     23    ACLOCAL=aclocal-1.14
     24elif automake-1.13 --version < /dev/null > /dev/null 2>&1 ; then
     25    AUTOMAKE=automake-1.13
     26    ACLOCAL=aclocal-1.13
     27elif automake-1.12 --version < /dev/null > /dev/null 2>&1 ; then
     28    AUTOMAKE=automake-1.12
     29    ACLOCAL=aclocal-1.12
     30elif automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
     31    AUTOMAKE=automake-1.11
     32    ACLOCAL=aclocal-1.11
     33elif automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
    2234    AUTOMAKE=automake-1.10
    2335    ACLOCAL=aclocal-1.10
    2436elif automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then
     
    3850        DIE=1
    3951fi
    4052
    41 (libtool --version) < /dev/null > /dev/null 2>&1 || {
     53(glibtool --version) < /dev/null > /dev/null 2>&1 || {
    4254        echo
    4355        echo "You must have libtool installed to compile $PROJECT."
    4456        echo "Get http://ftp.gnu.org/gnu/libtool/libtool-1.5.22.tar.gz"
     
    4961        exit 1
    5062fi
    5163
    52 libtoolize --force --copy
     64glibtoolize --force --copy --quiet
    5365
    5466$ACLOCAL $ACLOCAL_FLAGS
    5567autoheader
    56 $AUTOMAKE --add-missing
     68$AUTOMAKE --add-missing < /dev/null > /dev/null 2>&1
    5769autoconf
    5870cd $THEDIR
    5971
    60 $srcdir/configure --enable-maintainer-mode "$@"
    61 
    62 echo
    63 echo "Now type 'make' to compile $PROJECT"
Note: See TracBrowser for help on using the repository browser.