From 119b663e05e8b398da4f56eae382b4824a94c383 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Tue, 19 Mar 2002 20:27:37 +0000 Subject: allow override of autoconf and autoheader 2002-03-19 Matt Wilson * autogen.sh: allow override of autoconf and autoheader * gtk/gtk.defs (GtkTreeModel.get_iter_root): use the gtk_tree_model_get_iter_first code, get_iter_root is going to be deprecated. (GtkTreeModel.get_iter_first): added * gtk/gtk.override (_wrap_gtk_tree_model_get_iter_root): check the return value of gtk_tree_model_get_iter_root and return None if it failed. Rename to _wrap_gtk_tree_model_get_iter_first. * codegen/codegen.py (write_class, write_interface, write_boxed write_pointer): use overrides.is_already_included to prevent from having the same override code included twice in one file. This allows two methods to point to the same function. * codegen/override.py (Overrides.is_already_included): added a function that returns true if the override code has been emitted already. 2002-03-11 Matt Wilson * gobjectmodule.c: remove pygobject_exception_notifiers and pyg_fatal_exceptions_notify. --- autogen.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 082e882b..1242fde1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -14,6 +14,8 @@ DIE=0 test -z "$AUTOMAKE" && AUTOMAKE=automake test -z "$ACLOCAL" && ACLOCAL=aclocal +test -z "$AUTOCONF" && AUTOCONF=autoconf +test -z "$AUTOHEADER" && AUTOHEADER=autoheader (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo @@ -85,14 +87,14 @@ fi $ACLOCAL $ACLOCAL_FLAGS # optionally feature autoheader -(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader +($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 && $AUTOHEADER # run libtoolize ... libtoolize --force $AUTOMAKE -a $am_opt -autoheader -autoconf +$AUTOHEADER +$AUTOCONF cd $ORIGDIR $srcdir/configure --enable-maintainer-mode "$@" -- cgit v1.2.1