diff options
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r-- | macros/gnome-pilot.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4 index 17d03ba824..f35e9b0399 100644 --- a/macros/gnome-pilot.m4 +++ b/macros/gnome-pilot.m4 @@ -88,15 +88,15 @@ AC_DEFUN([PILOT_LINK_HOOK],[ if (PILOT_LINK_VERSION == $pl_ve) { if (PILOT_LINK_MAJOR == $pl_ma) { if (PILOT_LINK_MINOR >= $pl_mi) { - exit(0); + return 0; } } else if (PILOT_LINK_MAJOR > $pl_ma) { - exit(0); + return 0; } } else if (PILOT_LINK_VERSION > $pl_ve) { - exit(0); + return 0; } - exit(1); + return 1; } ], [AC_MSG_RESULT(yes (found $PILOT_LINK_VERSION))], |