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