~dylanmccall/notify-osd/position-hints

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: David Barth
  • Date: 2008-11-20 19:09:44 UTC
  • Revision ID: david.barth@canonical.com-20081120190944-k1h70osq5vj9x5lp
even more autotool stuff

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="alsdorf"
 
8
REQUIRED_AUTOCONF_VERSION=2.59
 
9
REQUIRED_AUTOMAKE_VERSION=1.8
 
10
REQUIRED_MACROS="python.m4"
 
11
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
 
12
 
 
13
(test -f $srcdir/configure.in) || {
 
14
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
15
    echo " top-level $PKG_NAME directory"
 
16
    exit 1
 
17
}
 
18
 
 
19
which gnome-autogen.sh || {
 
20
    echo "You need to install the gnome-common module and make"
 
21
    echo "sure the gnome-autogen.sh script is in your \$PATH."
 
22
    exit 1
 
23
}
 
24
 
 
25
USE_GNOME2_MACROS=1 . gnome-autogen.sh