mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-12-04 22:07:49 +00:00
17fe478085
Without this the "w" flag may be set which causes the version to be incorrectly to be obtains in configure.ac causing configure to fail miserably
19 lines
295 B
Bash
Executable File
19 lines
295 B
Bash
Executable File
#! /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 "$@"
|