mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
18 lines
295 B
Bash
18 lines
295 B
Bash
#! /bin/sh
|
|
|
|
srcdir=`dirname "$0"`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
SRCDIR=`(cd "$srcdir" && pwd)`
|
|
ORIGDIR=`pwd`
|
|
|
|
if test "x$SRCDIR" != "x$ORIGDIR"; then
|
|
echo "Mesa cannot be built when srcdir != builddir" 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
MAKEFLAGS=""
|
|
|
|
autoreconf -v --install || exit 1
|
|
|
|
"$srcdir"/configure "$@"
|