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.
 
 
 
 
 
 

42 lines
1022 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. Quick start build instructions:"
  26. echo ""
  27. echo "1. Build Jim Tcl"
  28. echo ""
  29. echo "git submodule init"
  30. echo "git submodule update"
  31. echo "cd jimtcl"
  32. echo "./configure --with-jim-ext=nvp"
  33. echo "make"
  34. echo "make install"
  35. echo ""
  36. echo "2. Configure"
  37. echo "./configure --enable-maintainer-mode ...."