summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Berkman <jberk+@cmu.edu>1999-05-09 07:25:12 +0000
committerJacob Berkman <jberkman@src.gnome.org>1999-05-09 07:25:12 +0000
commitc2d26f1e643ef35d14dbb2dcdbf1efa53686c33b (patch)
tree7399a7ee0338f80cd3e98e9f553e9fc4eea83513
parent101ded67a522d27fd3e2f8899578b9edc53fdf92 (diff)
downloadshared-mime-info-c2d26f1e643ef35d14dbb2dcdbf1efa53686c33b.tar.gz
made test program return 0, changed BONOBO_CHECK to not return "failure"
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 svn path=/trunk/; revision=793
-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 afa6685a..c718b24b 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 fdac4d13..65e272cf 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)])
])