You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
587 B

  1. #!/bin/sh -e
  2. if libtoolize --version >/dev/null 2>&1; then
  3. libtoolize="libtoolize"
  4. elif glibtoolize --version >/dev/null 2>&1; then
  5. libtoolize="glibtoolize"
  6. else
  7. echo "libtool is required" >&2
  8. exit 1
  9. fi
  10. # bootstrap the autotools
  11. (
  12. set -x
  13. aclocal
  14. autoheader
  15. ${libtoolize} --automake --copy
  16. autoconf
  17. autoheader
  18. automake --foreign --add-missing --copy
  19. )
  20. # AM_MAINTAINER_MODE requires SVN users provide --enable-maintainer-mode
  21. # otherwise the documentation will fail to build due to missing version.texi
  22. echo "Bootstrap complete; you can './configure --enable-maintainer-mode ....'"