mutter/autogen.sh
Matthew Allum 2b80688cfe 2008-04-28 Matthew Allum <mallum@openedhand.com>
* autogen.sh:
        Dont display 'make' if configure fails.
        * configure.ac:
        Add new --with-gles version option for eventual GLES2 support
        Also minor tidyups.
2008-04-28 13:18:16 +00:00

27 lines
528 B
Bash
Executable File

#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PROJECT=Clutter
TEST_TYPE=-d
FILE=clutter
test $TEST_TYPE $FILE || {
echo "You must run this script in the top-level $PROJECT directory"
exit 1
}
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No gtk-doc support ***"
touch gtk-doc.make
else
gtkdocize || exit $?
fi
# back in the stupidity of autoreconf
autoreconf -v --install || exit $?
./configure "$@" && echo "Now type 'make' to compile $PROJECT."