# Please state your love for the autotools today
if [ "$I_LOVE_AUTOTOOLS" = "" ] ; then
- I_LOVE_AUTOTOOLS=no
+ I_LOVE_AUTOTOOLS=no
else
- I_LOVE_AUTOTOOLS=yes
+ I_LOVE_AUTOTOOLS=yes
fi
if [ -z "$AUTOCONF" ]; then
unset AUTOCONF
fi
+if [ -z "$AUTOHEADER" ]; then
+ unset AUTOHEADER
+fi
# test: the name of our download and build directory
tla get guile-gnome-devel@gnu.org--2004/libgnomecanvas--dev libgnomecanvas
rm -rf $OPT/guile-gnome
+if false; then
+ libtoolize --copy --force
+ $AUTOHEADER
+ $ACLOCAL
+ $AUTOMAKE --copy --force
+ $AUTOCONF
+fi
sh autogen.sh --noconfigure
mkdir ../=build
cd ../=build
PKG_CONFIG_PATH=$OPT/g-wrap/lib/pkgconfig:$PKG_CONFIG_PATH
../src/configure --prefix=$OPT/guile-gnome
+
+# Using libtool < 1.6.0 together with gcc-3.4 may trigger this problem:
+#
+# If a tag has not been given, and we're using a compiler which is
+# not one of the ones with which libtool was built, attempt to
+# infer the compiler from the first word of the command line passed
+# to libtool.
+#
+# Use gcc-3.3 or libtool-1.6.0
make install CC=$GCC G_WRAP_MODULE_DIR=$OPT/g-wrap/share/guile/site
GUILE_LOAD_PATH=$OPT/guile-gnome/share/guile:$GUILE_LOAD_PATH