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