cvsimport
[beagle.git] / autogen.sh
blob53c1b6868dcd0a4ba542e22bebb00bcd8553b43d
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 PKG_NAME="beagle"
8 REQUIRED_AUTOMAKE_VERSION=1.8
10 (test -f $srcdir/configure.in \
11 && test -f $srcdir/README) || {
12 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
13 echo " top-level $PKG_NAME directory"
14 exit 1
17 GNOME_AUTOGEN=`which gnome-autogen.sh 2>/dev/null`
18 if [ -z $GNOME_AUTOGEN ]; then
19 echo "Using included gnome-autogen script"
20 GNOME_AUTOGEN="./gnome-autogen.sh"
21 else
22 echo "Using system-provided gnome-autogen script"
25 . $GNOME_AUTOGEN