build.sh 343 B

12345678910111213141516171819
  1. #!/bin/bash
  2. set -e
  3. # M4 build script
  4. # Configures and compiles the M4 package
  5. build_dir=$1
  6. # With simpleBuildEnvironment flag, we're in the build directory
  7. # but the source is still in sources/m4, need to go there
  8. cd sources/m4
  9. echo "Configuring M4..."
  10. ./configure --prefix=${PREFIX}
  11. echo "Compiling M4..."
  12. make
  13. echo "M4 build complete."