update-autotools 587 B

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