From 65cc58a082a305923a472bcd75c843a47586006c Mon Sep 17 00:00:00 2001 From: Jacob Berkman Date: Sun, 9 May 1999 07:25:12 +0000 Subject: made test program return 0, changed BONOBO_CHECK to not return "failure" 1999-05-09 Jacob Berkman * gnome-bonobo-check.m4: made test program return 0, changed BONOBO_CHECK to not return "failure" on success svn path=/trunk/; revision=895 --- macros/ChangeLog | 5 +++++ macros/gnome-bonobo-check.m4 | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * gnome-bonobo-check.m4: made test program return 0, + changed BONOBO_CHECK to not return "failure" on success + 1999-04-16 Raja R Harinath * 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)]) ]) -- cgit v1.2.3