--- configure.orig	Tue Sep 29 04:23:47 1998
+++ configure	Fri Oct  2 07:56:04 1998
@@ -933,12 +933,12 @@
 
 
 	if test "$no_gnome_config" = "yes"; then
-          echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6
-echo "configure:938: checking for gnomeConf.sh file in $gnome_prefix" >&5
-	  if test -f $gnome_prefix/gnomeConf.sh; then
+          echo $ac_n "checking for gnomeConf.sh file in $prefix/share/gnome""... $ac_c" 1>&6
+echo "configure:938: checking for gnomeConf.sh file in $prefix/share/gnome" >&5
+	  if test -f $prefix/share/gnome/gnomeConf.sh; then
 	    echo "$ac_t""found" 1>&6
-	    echo "loading gnome configuration from $gnome_prefix/gnomeConf.sh"
-	    . $gnome_prefix/gnomeConf.sh
+	    echo "loading gnome configuration from $prefix/share/gnome/gnomeConf.sh"
+	    . $prefix/share/gnome/gnomeConf.sh
 	    
 	  else
 	    echo "$ac_t""not found" 1>&6
@@ -2820,58 +2820,11 @@
 
 
 GNORBA_LIBS=`gnome-config --libs gnorba gnomeui`
-echo $ac_n "checking for gnome_CORBA_init in -lgnorba""... $ac_c" 1>&6
-echo "configure:2825: checking for gnome_CORBA_init in -lgnorba" >&5
-ac_lib_var=`echo gnorba'_'gnome_CORBA_init | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  ac_save_LIBS="$LIBS"
-LIBS="-lgnorba $GNORBA_LIBS $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 2833 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error.  */
-/* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char gnome_CORBA_init();
-
-int main() {
-gnome_CORBA_init()
-; return 0; }
-EOF
-if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-  rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=yes"
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
-  
-	ORBIT_LIBS="-lgnorba `gnome-config --libs gnorba gnomeui`"
-	ORBIT_CFLAGS=`gnome-config --cflags gnorba gnomeui`
-	
-	
-	cat >> confdefs.h <<\EOF
+ORBIT_LIBS="-lgnorba `gnome-config --libs gnorba gnomeui`"
+ORBIT_CFLAGS=`gnome-config --cflags gnorba gnomeui`
+cat >> confdefs.h <<\EOF
 #define HAVE_ORBIT 1
 EOF
-
-
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-
-
-
 
 
 if test -n "$ORBIT_LIBS"; then
