--- configure.in.orig 2002-12-18 23:18:18.000000000 +0100 +++ configure.in 2006-01-25 01:53:59.477695153 +0100 @@ -48,7 +48,18 @@ AC_SUBST(STRIP_BEGIN) AC_SUBST(STRIP_END) +AC_ARG_ENABLE([gnome], + [AS_HELP_STRING([--enable-gnome], + [Force en-/disable of gnome-libs @<:@default=auto@:>@])], + [ac_gnome_enabled=$enableval], [ac_gnome_enabled=auto]) AC_PATH_PROG(GNOME_CONFIG,gnome-config,no) +if test "$ac_gnome_enabled" = no; then + GNOME_CONFIG=no +fi +if test "$ac_gnome_enabled" = yes -a "$GNOME_CONFIG" = no; then + echo "Error! gnome-libs not found." + exit 1 +fi if test x$GNOME_CONFIG != xno; then echo "Building the GnomeCanvasPixbuf library" GNOME_LIBS=`$GNOME_CONFIG --libs gnomeui`