4
by David Barth
even more autotool stuff |
1 |
#!/bin/sh
|
2 |
# Run this to generate all the initial makefiles, etc.
|
|
3 |
||
4 |
srcdir=`dirname $0` |
|
5 |
test -z "$srcdir" && srcdir=. |
|
6 |
||
184
by David Barth
alsdorf is now officially known as 'notify-osd' |
7 |
PKG_NAME="notify-osd" |
4
by David Barth
even more autotool stuff |
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 |