~ubuntu-branches/ubuntu/oneiric/overlay-scrollbar/oneiric

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-03-30 14:29:24 UTC
  • Revision ID: james.westby@ubuntu.com-20110330142924-0eaim5ooup97vlvl
Tags: upstream-0.1.5
ImportĀ upstreamĀ versionĀ 0.1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Run this to generate all the initial makefiles, etc.
 
3
 
 
4
srcdir=`dirname $0`
 
5
test -z "$srcdir" && srcdir=.
 
6
 
 
7
PKG_NAME="overlay-scrollbar"
 
8
 
 
9
(test -f $srcdir/os/os-scrollbar.c) || {
 
10
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
11
    echo " top-level $PKG_NAME directory"
 
12
    exit 1
 
13
}
 
14
 
 
15
which gnome-autogen.sh || {
 
16
    echo "You need to install gnome-common from the GNOME CVS"
 
17
    exit 1
 
18
}
 
19
 
 
20
REQUIRED_AUTOCONF_VERSION=2.63
 
21
REQUIRED_AUTOMAKE_VERSION=1.9
 
22
REQUIRED_INTLTOOL_VERSION=0.40.0
 
23
REQUIRED_PKG_CONFIG_VERSION=0.16.0 . gnome-autogen.sh