--- configure.orig	Wed Jan 17 00:11:18 2001
+++ configure	Wed Jan 17 00:11:54 2001
@@ -3667,7 +3667,7 @@
 echo "configure:3668: checking for Gnome compile flags" >&5
   GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null`
   GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //'`
-  GNOME_MAJOR=`echo $GNOME_VER |$sedpath 's/\([0-9]**\).\([0-9]**\).\([0-9]**\)/\1/'`
+  GNOME_MAJOR=`echo $GNOME_VER |$sedpath 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
   if test "_$GNOME_MAJOR" = "_0"; then
     gnome=no
     echo "$ac_t""old Gnome found, building without it." 1>&6
