aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-bonobo-check.m43
2 files changed, 7 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index afa6685a12..c718b24b1d 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+1999-05-09 Jacob Berkman <jberk+@cmu.edu>
+
+ * gnome-bonobo-check.m4: made test program return 0,
+ changed BONOBO_CHECK to not return "failure" on success
+
1999-04-16 Raja R Harinath <harinath@cs.umn.edu>
* gnome-print-check.m4 (GNOME_PRINT_CHECK): Fix invocation of
diff --git a/macros/gnome-bonobo-check.m4 b/macros/gnome-bonobo-check.m4
index fdac4d13ad..65e272cf7a 100644
--- a/macros/gnome-bonobo-check.m4
+++ b/macros/gnome-bonobo-check.m4
@@ -89,6 +89,7 @@ int main ()
system ("touch conf.bonobotest");
gnome_object_get_type ();
+ return 0;
}
],, no_bonobo=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
@@ -144,6 +145,6 @@ int main ()
])
AC_DEFUN([BONOBO_CHECK], [
- AM_PATH_BONOBO(0.1.0,failure)
+ AM_PATH_BONOBO(0.1.0,,[AC_MSG_ERROR(BONOBO not found)])
])