diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-01 23:51:27 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-01 23:51:27 +0000 |
commit | 0268bfc6e7c45472907d1006aadf2e6634bb0917 (patch) | |
tree | 97d50dd14bf52b1b949f6cee759e2c5f0790a01d /macros/gnome-pilot.m4 | |
parent | d181483b9be07f314ca57349f91711636e4b2286 (diff) | |
download | shared-mime-info-0268bfc6e7c45472907d1006aadf2e6634bb0917.tar.gz |
"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=1203
Diffstat (limited to 'macros/gnome-pilot.m4')
-rw-r--r-- | macros/gnome-pilot.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macros/gnome-pilot.m4 b/macros/gnome-pilot.m4 index a2ebfe5e..eb63912a 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 |