summaryrefslogtreecommitdiffstats
path: root/update-autotools
blob: 4e055bc585d7d09d4c6452243c3c969f96be4fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh
#
# When local system does not have the latest autoconf/automake
#        -- Kunihiro Ishiguro <kunihiro@zebra.org>
#

rm -f config.cache Makefile.in aclocal.m4 config.h.in configure
rm -rf autom4te.cache

echo "This $0 script is deprecated, and will be removed at some stage."
echo "Please use the 'autoreconf' command included with autoconf."

echo "TOOLS VERIONS:"
for tool in autoheader autoconf libtool libtoolize aclocal automake; do
  $tool --version | head -1
done

echo "UPDATING:"
aclocal -I m4
autoheader
autoconf
libtoolize -c
automake --gnu --add-missing --copy