summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 7da43d8c1e977a8d210c08b8c332324854052ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

PKG_NAME=Clutter-Gtk
TEST_TYPE=-f
FILE=clutter-gtk/clutter-gtk.h

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

test $TEST_TYPE $FILE || {
        echo "You must run this script in the top-level $PROJECT directory"
        exit 1
}

gtkdocize || exit $?

ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?

./configure "$@" && echo Now type make to compile $PKG_NAME.