mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 07:50:26 +00:00
30916a5ef0
By passing --force autoreconf will update all the aux files, which would otherwise be ignored if one updates autoconf/automake. Quote the ORIGDIR variable to prevent fall-outs, when its name contains space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
15 lines
232 B
Bash
Executable File
15 lines
232 B
Bash
Executable File
#! /bin/sh
|
|
|
|
srcdir=`dirname "$0"`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
cd "$srcdir"
|
|
|
|
autoreconf --force --verbose --install || exit 1
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
"$srcdir"/configure "$@"
|
|
fi
|