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.
 
 
 
 
 
 

30 lines
783 B

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