update-autotools 697 B

12345678910111213141516171819202122232425262728
  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 config.guess config.sub ltmain.sh
  8. rm -rf autom4te.cache
  9. echo "This $0 script is deprecated, and will be removed at some stage."
  10. echo "Please use the 'autoreconf' command included with autoconf."
  11. echo "TOOLS VERIONS:"
  12. for tool in autoheader autoconf libtool libtoolize aclocal automake; do
  13. $tool --version | head -1
  14. done
  15. echo "ACLOCAL:"
  16. aclocal -I m4
  17. echo "AUTOHEADER:"
  18. autoheader
  19. echo "AUTOCONF:"
  20. autoconf
  21. echo "LIBTOOLIZE:"
  22. libtoolize -c
  23. echo "AUTOMAKE"
  24. automake --gnu --add-missing --copy