16 lines
259 B
Shell
Executable file
16 lines
259 B
Shell
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
set -u
|
|
|
|
ROOT_DIR=$(dirname "$0")
|
|
|
|
pkg-config --exists --print-errors vinylapi
|
|
|
|
VINYLAPI_DATAROOTDIR=$(pkg-config --variable=datarootdir vinylapi)
|
|
export VINYLAPI_DATAROOTDIR
|
|
|
|
mkdir -p m4
|
|
autoreconf -i "$ROOT_DIR"
|
|
|
|
"$ROOT_DIR"/configure "$@"
|