Merge tag 'upstream/1.2.3'
[quagga-debian.git] / update-autotools
1 #! /bin/sh
2 #
3 # When local system does not have the latest autoconf/automake
4 #        -- Kunihiro Ishiguro <kunihiro@zebra.org>
5 #
6
7 rm -f config.cache Makefile.in aclocal.m4 config.h.in configure
8 rm -rf config.guess config.sub ltmain.sh
9 rm -rf autom4te.cache
10
11 echo "This $0 script is deprecated, and will be removed at some stage."
12 echo "Please use the 'autoreconf' command included with autoconf."
13
14 echo "TOOLS VERIONS:"
15 for tool in autoheader autoconf libtool libtoolize aclocal automake; do
16   $tool --version | head -1
17 done
18
19 echo "ACLOCAL:"
20 aclocal -I m4
21 echo "AUTOHEADER:"
22 autoheader
23 echo "AUTOCONF:"
24 autoconf
25 echo "LIBTOOLIZE:"
26 libtoolize -c
27 echo "AUTOMAKE"
28 automake --gnu --add-missing --copy