I'm not a very good tester, so this may or may not work (but I think it
does) so I leave it for someone with more experience...

Hugs, rms

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?
Index: ac-helpers/abi-gnome.m4
===================================================================
RCS file: /cvsroot/abi/ac-helpers/abi-gnome.m4,v
retrieving revision 1.4
diff -u -r1.4 abi-gnome.m4
--- ac-helpers/abi-gnome.m4	7 May 2002 16:23:33 -0000	1.4
+++ ac-helpers/abi-gnome.m4	15 Jul 2002 20:12:34 -0000
@@ -85,8 +85,14 @@
 fi
 
 if test "$gnome" = true ; then
-	GNOME_CFLAGS="`gnome-config --cflags $gnomelibs` `nautilus-config --cflags` -DHAVE_GNOME=1"
-	GNOME_LIBS="`gnome-config --libs $gnomelibs` `nautilus-config --libs`"
+	GNOME_CFLAGS="`gnome-config --cflags $gnomelibs` -DHAVE_GNOME=1"
+	GNOME_LIBS="`gnome-config --libs $gnomelibs`"
+fi
+
+nautilus_test=`which nautilus-config 2> /dev/null`
+if test "x$nautilus_test" != "x" ; then
+	export GNOME_CFLAGS="`gnome-config --cflags $gnomelibs` `nautilus-config --cflags` -DHAVE_GNOME=1"
+	export GNOME_LIBS="`gnome-config --libs $gnomelibs` `nautilus-config --libs`"
 fi
 
 AC_SUBST(GNOME_CFLAGS)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to