[lib] CID #39, fix leak in error path, vty_describe_command
[jleu-quagga.git] / update-autotools
blob4e055bc585d7d09d4c6452243c3c969f96be4fb6
1 #! /bin/sh
3 # When local system does not have the latest autoconf/automake
4 # -- Kunihiro Ishiguro <kunihiro@zebra.org>
7 rm -f config.cache Makefile.in aclocal.m4 config.h.in configure
8 rm -rf autom4te.cache
10 echo "This $0 script is deprecated, and will be removed at some stage."
11 echo "Please use the 'autoreconf' command included with autoconf."
13 echo "TOOLS VERIONS:"
14 for tool in autoheader autoconf libtool libtoolize aclocal automake; do
15 $tool --version | head -1
16 done
18 echo "UPDATING:"
19 aclocal -I m4
20 autoheader
21 autoconf
22 libtoolize -c
23 automake --gnu --add-missing --copy