Ticket #20424: quagga-patch3.diff

File quagga-patch3.diff, 888 bytes (added by mike-savory, 15 years ago)
  • update-autotools

    - sourced from http://marc.info/?l=quagga-dev&m=122470857431036&w=2
    - update-autotools.sh - Use GNU libtool, libtoolize on Darwin.
    
    rm -rf autom4te.cache 
    1111echo "This $0 script is deprecated, and will be removed at some stage."
    1212echo "Please use the 'autoreconf' command included with autoconf."
    1313
     14OS=`uname -s`
     15if [ "$OS" = "Darwin" ]; then
     16   LIBTOOLIZE='glibtoolize'
     17   LIBTOOL='glibtool'
     18else
     19   LIBTOOLIZE='libtoolize'
     20   LIBTOOL='libtool'
     21fi
     22
    1423echo "TOOLS VERIONS:"
    15 for tool in autoheader autoconf libtool libtoolize aclocal automake; do
     24for tool in autoheader autoconf $LIBTOOL $LIBTOOLIZE aclocal automake; do
    1625  $tool --version | head -1
    1726done
    1827
    autoheader 
    2332echo "AUTOCONF:"
    2433autoconf
    2534echo "LIBTOOLIZE:"
    26 libtoolize -c
     35$LIBTOOLIZE -c
    2736echo "AUTOMAKE"
    2837automake --gnu --add-missing --copy