head 1.4; access; symbols RELEASE_1_2_4:1.3 RELEASE_1_2_2:1.3 RELEASE_1_2_0:1.3 RELEASE_1_1_10:1.3 RELEASE_0_6_0:1.3 RELEASE_0_5_0:1.1.1.1 RELEASE_0_4_0:1.1.1.1 RELEASE_0_3_0:1.1.1.1 V0:1.1.1.1 cairomm:1.1.1; locks; strict; comment @# @; 1.4 date 2007.03.24.03.05.33; author jjongsma; state Exp; branches; next 1.3; 1.3 date 2006.03.13.01.43.04; author jjongsma; state Exp; branches; next 1.2; 1.2 date 2006.02.21.05.20.05; author jjongsma; state Exp; branches; next 1.1; 1.1 date 2005.12.02.13.34.41; author murrayc; state Exp; branches 1.1.1.1; next ; commitid 2b0c43904d684567; 1.1.1.1 date 2005.12.02.13.34.41; author murrayc; state Exp; branches; next ; commitid 2b0c43904d684567; desc @@ 1.4 log @2007-03-23 Jonathon Jongsma * Makefile.am: * autogen.sh: * configure.in: * m4/ax_boost_base.m4: * m4/ax_boost_unit_test_framework.m4: Add some basic test infrastructure. It's disabled by default, and must be explicitly enabled by passing --enable-tests to configure (or by setting the CAIROMM_DEVEL environment variable to "on"). It uses the boost unit test framework, but this should not be required unless you've explicitly enabled tests. If tests are enabled, you can easily run them with 'make check' * tests/Makefile.am: * tests/test-context.cc: added the beginning of a test for Cairo::Context. Most of these tests are really very interesting. Basically what I'm trying to do is a) test some basic behaviors, and b) excercise the functionality a little bit. One of the tests currently fails due to a RefPtr::cast_dynamic failure, so I have to see what's going on there. @ text @#! /bin/sh set -e # $Id: autogen.sh,v 1.3 2006/03/13 01:43:04 jjongsma Exp $ # # Copyright (c) 2002 Daniel Elstner # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License VERSION 2 as # published by the Free Software Foundation. You are not allowed to # use any other version of the license; unless you got the explicit # permission from the author to do so. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. dir=`echo "$0" | sed 's,[^/]*$,,'` test "x${dir}" = "x" && dir='.' if test "x`cd "${dir}" 2>/dev/null && pwd`" != "x`pwd`" then echo "This script must be executed directly from the source directory." exit 1 fi LIBTOOLIZE=${LIBTOOLIZE:-libtoolize} AUTOCONF=${AUTOCONF:-autoconf} AUTOMAKE=${AUTOMAKE:-automake} ACLOCAL_FLAGS="-I m4" ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/` rm -f config.cache acconfig.h do_cmd() { echo "- $@@" $@@ } do_cmd $ACLOCAL $ACLOCAL_FLAGS do_cmd $LIBTOOLIZE --force do_cmd $AUTOCONF do_cmd $AUTOMAKE --add-missing --gnu do_cmd ./configure "$@@" @ 1.3 log @2006-03-12 Danilo Piazzalunga * autogen.sh: Allow overriding aclocal, automake, autoconf and libtoolize using environment variables. Taken from cairo's autogen.sh. @ text @d4 1 a4 1 # $Id: autogen.sh,v 1.2 2006/02/21 05:20:05 jjongsma Exp $ d38 1 d48 1 a48 1 do_cmd $ACLOCAL @ 1.2 log @2006-02-17 Danilo Piazzalunga * COPYING: Use the text from the Library GPL 2.0, which is the actual license of cairomm. Fixes Bug #5934 * cairomm/*: Update FSF's postal address in GPL/LGPL comment headings. Fixes Bug #5933 @ text @d2 1 d4 1 a4 1 # $Id: autogen.sh,v 1.1.1.1 2005/12/02 13:34:41 murrayc Exp $ d34 3 a36 1 rm -f config.cache acconfig.h d38 1 a38 10 echo "- aclocal." && \ aclocal && \ echo "- libtoolize." && \ libtoolize --force && \ echo "- autoconf." && \ autoconf && \ echo "- automake." && \ automake --add-missing --gnu && \ echo && \ ./configure "$@@" && exit 0 d40 1 a40 1 exit 1 d42 10 @ 1.1 log @Initial revision @ text @d3 1 a3 1 # $Id: autogen.sh,v 1.1.1.1 2003/12/18 16:36:08 cdevienn Exp $ d20 2 a21 1 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @ 1.1.1.1 log @First version. @ text @@