2b80688cfe
* autogen.sh: Dont display 'make' if configure fails. * configure.ac: Add new --with-gles version option for eventual GLES2 support Also minor tidyups.
27 lines
528 B
Bash
Executable File
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."
|