Update cairo gl/msaa compositor
[framework/graphics/cairo.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
6
7 ORIGDIR=`pwd`
8 cd $srcdir
9
10 AUTORECONF=`which autoreconf`
11 if test -z $AUTORECONF; then
12         echo "*** No autoreconf found, please intall it ***"
13         exit 1
14 fi
15
16 GTKDOCIZE=`which gtkdocize`
17 if test -z $GTKDOCIZE; then
18         echo "*** No GTK-Doc found, please install it ***"
19         exit 1
20 fi
21
22 # create dummy */Makefile.am.features and ChangeLog to make automake happy
23 > boilerplate/Makefile.am.features
24 > src/Makefile.am.features
25 touch ChangeLog
26
27 gtkdocize || exit $?
28 autoreconf --force --install --verbose || exit $?
29
30 cd $ORIGDIR
31 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"