From cf4ba6c512377113c014a6cf675fc3096cf38dfd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 9 Apr 2008 10:51:15 +0000 Subject: 2008-04-09 Emmanuele Bassi * autogen.sh: Clean up a bit * clutter/clutter-fixed.[ch]: (clutter_double_to_fixed), (clutter_double_to_int), (clutter_double_to_uint): Make these functions public, as they are expanded by their respective macros. This fixes the errors from the linker trying to resolve their name. --- autogen.sh | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 1836f8b74..9c61882c0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,7 +1,22 @@ #! /bin/sh -gtkdocize || exit 1 + +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 || exit $? # back in the stupidity of autoreconf -autoreconf -v --install || exit 1 +autoreconf -v --install || exit $? + +./configure "$@" ${GTK_DOC_ARGS} -./configure "$@" +echo "Now type 'make' to compile $PROJECT." -- cgit v1.2.1