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="libchamplain"
8
9
(test -f $srcdir/configure.ac) || {
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 module and make"
17
    echo "sure the gnome-autogen.sh script is in your \$PATH."
18
    exit 1
19
}
20
21
. gnome-autogen.sh