summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-03-19 20:27:37 +0000
committerMatt Wilson <msw@src.gnome.org>2002-03-19 20:27:37 +0000
commit119b663e05e8b398da4f56eae382b4824a94c383 (patch)
treefd485debdf1807291091051e6d40686eac87b060 /autogen.sh
parent2dfe384bdce3871003bf0bf53da02e5ae83bb45f (diff)
downloadpygtk-119b663e05e8b398da4f56eae382b4824a94c383.tar.gz
allow override of autoconf and autoheader
2002-03-19 Matt Wilson <msw@redhat.com> * 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 <msw@redhat.com> * gobjectmodule.c: remove pygobject_exception_notifiers and pyg_fatal_exceptions_notify.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 5 insertions, 3 deletions
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 "$@"