Commit 9e2bf61d authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

autogen.sh: Switch from bash to sh and make it POSIX

parent 6ced857c
#!/bin/bash
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# We trust that the user has a recent enough autoconf & automake setup
# (not older than a few years...)
test_program_errors=0
function test_program {
test_program () {
if ! command -v $1 >/dev/null 2>&1 ; then
echo "Missing program '$1'."
test_program_errors=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment