2
by Stephen M. Webb
added build infra |
1 |
#! /bin/sh -e
|
2 |
#
|
|
3 |
# This file is part of Unity8-session-x11, a desktop session configration
|
|
4 |
# package.
|
|
5 |
#
|
|
6 |
# Copyright 2013 Canonical Ltd.
|
|
7 |
#
|
|
8 |
# Unity8-session-x11 is free software: you can redistribute it and/or modify it
|
|
9 |
# under the terms of the GNU General Public License version 3, as published by
|
|
10 |
# the Free Software Foundation.
|
|
11 |
#
|
|
12 |
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
13 |
# WARRANTY; without even the implied warranties of MERCHANTABILITY, SATISFACTORY
|
|
14 |
# QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
15 |
# License for more details.
|
|
16 |
#
|
|
17 |
# You should have received a copy of the GNU General Public License along with
|
|
18 |
# this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19 |
||
20 |
||
21 |
srcdir=`dirname $0` |
|
22 |
test -z "$srcdir" && srcdir=. |
|
23 |
||
24 |
ORIGDIR=`pwd` |
|
25 |
cd $srcdir |
|
26 |
||
27 |
autoreconf -v --install || exit 1 |
|
28 |
cd $ORIGDIR || exit $? |
|
29 |
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" |