jitters/bootstrap

20 lines
303 B
Plaintext
Raw Permalink Normal View History

2020-09-27 21:18:23 +02:00
#! /bin/sh
# Stop on errors
set -e
# Find where the sources are
src_dir="$(dirname "$0")"
test -z "$src_dir" && src_dir=.
# Bootstrap in a subshell
(
cd "$src_dir"
autoreconf -fvi
)
# Call configure, unless NOCONFIGURE is set
if test -z "$NOCONFIGURE"; then
"$src_dir"/configure "$@"
fi