bootstrap 727 B

123456789101112131415161718192021222324252627282930313233
  1. #! /bin/sh
  2. #
  3. # bootstrap
  4. #
  5. # Short script to create basic autoconf/automake configuration
  6. # files. Useful when freshly checking out the source tree.
  7. #
  8. # Copyright 2002-2004 Mayo Foundation. All Rights Reserved
  9. # $Id: bootstrap,v 1.7 2004/04/22 21:38:49 techenti Exp $
  10. #
  11. echo "Clearing all cached configuration files"
  12. rm -rf autom4te.cache aclocal.m4
  13. rm -f config.* configure
  14. rm -f Makefile.in depcomp install-sh missing mkinstalldirs
  15. echo "Running aclocal"
  16. aclocal
  17. echo "Running automake"
  18. automake --add-missing --copy --force-missing
  19. echo "Running autoconf"
  20. autoconf
  21. echo "Bootstrapping subdirectories of " `pwd`
  22. for i in */bootstrap ; do
  23. echo bootstrapping $i
  24. cd `dirname $i`
  25. bootstrap
  26. cd ..
  27. done