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.
 
 
 
 
 
 

27 lines
720 B

  1. #!/bin/sh -e
  2. # Run the autotools bootstrap sequence to create the configure script
  3. if libtoolize --version >/dev/null 2>&1; then
  4. libtoolize="libtoolize"
  5. elif glibtoolize --version >/dev/null 2>&1; then
  6. libtoolize="glibtoolize"
  7. else
  8. echo "libtool is required" >&2
  9. exit 1
  10. fi
  11. # bootstrap the autotools
  12. (
  13. set -x
  14. aclocal
  15. ${libtoolize} --automake --copy
  16. autoconf
  17. autoheader
  18. automake --gnu --add-missing --copy
  19. )
  20. # AM_MAINTAINER_MODE requires --enable-maintainer-mode from everyone using
  21. # current source snapshots (working from GIT, or some source snapshot, etc)
  22. # otherwise the documentation will fail to build due to missing version.texi
  23. echo "Bootstrap complete; you can './configure --enable-maintainer-mode ....'"