File: autogen.sh

package info (click to toggle)
mesa-demos 8.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 39,620 kB
  • sloc: ansic: 128,644; sh: 10,252; cpp: 1,339; makefile: 1,306; python: 304
file content (18 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /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 "$@"