summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@gnome.org>2007-03-24 03:05:33 +0000
committerJonathon Jongsma <jjongsma@gnome.org>2007-03-24 03:05:33 +0000
commit2d59e18935e5ea28814cc522c431c0caabe3cd84 (patch)
tree0e203313c1fb867c10c5b70bac5f793d5b2ce517 /autogen.sh
parentea07f5b2076a75ac15e9b3f99c4f8285a857c0d1 (diff)
2007-03-23 Jonathon Jongsma <jjongsma@gnome.org>
* 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.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 83c25b2..0652978 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,7 @@
#! /bin/sh
set -e
-# $Id: autogen.sh,v 1.3 2006-03-13 01:43:04 jjongsma Exp $
+# $Id: autogen.sh,v 1.4 2007-03-24 03:05:33 jjongsma Exp $
#
# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
#
@@ -35,6 +35,7 @@ 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
@@ -44,7 +45,7 @@ do_cmd() {
$@
}
-do_cmd $ACLOCAL
+do_cmd $ACLOCAL $ACLOCAL_FLAGS
do_cmd $LIBTOOLIZE --force
do_cmd $AUTOCONF
do_cmd $AUTOMAKE --add-missing --gnu