build: add inital autotools setup
This commit is contained in:
commit
b08dacf3c0
4 changed files with 77 additions and 0 deletions
19
bootstrap
Executable file
19
bootstrap
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#! /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
|
||||
Loading…
Add table
Add a link
Reference in a new issue