projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
glsl: rewrite sqrt(x) intrinsic to handle x=0
[mesa.git]
/
autogen.sh
1
#! /bin/sh
2
3
srcdir
=
`dirname "
$0
"`
4
test -z
"
$srcdir
"
&&
srcdir
=
.
5
6
SRCDIR
=
`(cd "
$srcdir
" && pwd)`
7
ORIGDIR
=
`pwd`
8
9
if
test
"x
$SRCDIR
"
!=
"x
$ORIGDIR
"
;
then
10
echo
"Mesa cannot be built when srcdir != builddir"
1
>&
2
11
exit
1
12
fi
13
14
MAKEFLAGS
=
""
15
16
autoreconf
-v --install
||
exit
1
17
18
"
$srcdir
"
/
configure
"$@"