configure 584 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. #
  3. # configure -- Configure for building
  4. #
  5. #
  6. # Configure will invoke "me configure" to prepare for building.
  7. # If building via "make" configuration is not required.
  8. #
  9. NAME=goahead
  10. OS=`uname | sed 's/CYGWIN.*/windows/;s/Darwin/macosx/' | tr '[A-Z]' '[a-z]'`
  11. PROFILE=debug
  12. EXT=mk
  13. if ! type me >/dev/null 2>&1 ; then
  14. echo '' >&2
  15. echo "To configure ${NAME}, the \"me\" tool is required. You can continue with a" >&2
  16. echo 'default build by using make.' >&2
  17. make help
  18. exit 0
  19. fi
  20. if [ -f start.me ] ; then
  21. me clean >/dev/null 2>&1
  22. fi
  23. me configure "$@"