~ken-vandine/overlay-scrollbar/xsession

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Andrea Cimitan
  • Date: 2012-04-27 13:49:56 UTC
  • mfrom: (343.1.10 module)
  • Revision ID: andrea.cimitan@canonical.com-20120427134956-ddwhpqx6b697ood7
Tags: 0.3.0
Port to GtkModule

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
 
1
#!/bin/sh -e
 
2
 
 
3
mkdir -p m4
 
4
autoreconf -i
 
5
test -n "$NOCONFIGURE" || ./configure "$@"