From 46a917144878351adb2db43ab27179a271a03d7d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 1 May 2000 23:51:27 +0000 Subject: "But that trick NEVER works!" "This time for sure!" * gnome-pilot.m4 (PILOT_LIBS): "But that trick NEVER works!" "This time for sure!" svn path=/trunk/; revision=2727 --- macros/ChangeLog | 5 +++++ macros/gnome-pilot.m4 | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/macros/ChangeLog b/macros/ChangeLog index 7ce773eeef..bcb29bfdfb 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +2000-05-01 Dan Winship + + * gnome-pilot.m4 (PILOT_LIBS): "But that trick NEVER works!" + "This time for sure!" + Sun Apr 23 12:15:14 2000 George Lebl * gnome.m4: add an extra lib of docklets. These checks are diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4 index a2ebfe5e34..eb63912af6 100644 --- a/macros/gnome-pilot.m4 +++ b/macros/gnome-pilot.m4 @@ -102,7 +102,9 @@ AC_DEFUN([GNOME_PILOT_HOOK],[ if test x$GNOME_CONFIG = xno; then gnome_cv_pilot_found=no else - if $GNOME_CONFIG --modversion gpilot 2> /dev/null; then + # gnome-config doesn't return a useful error status, + # so we check if it outputs anything to stderr + if test x`$GNOME_CONFIG gpilot 2>&1 > /dev/null` = x; then gnome_cv_pilot_found=yes else gnome_cv_pilot_found=no -- cgit v1.2.3