diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-02 07:51:27 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-02 07:51:27 +0800 |
commit | 46a917144878351adb2db43ab27179a271a03d7d (patch) | |
tree | da679ddb64eaf2d8fd61fc6714cdda437c3f25de /macros/gnome-pilot.m4 | |
parent | 722c35d2cc60658d4565305d6a50af85fd2ae25e (diff) | |
download | gsoc2013-evolution-46a917144878351adb2db43ab27179a271a03d7d.tar.gz gsoc2013-evolution-46a917144878351adb2db43ab27179a271a03d7d.tar.zst gsoc2013-evolution-46a917144878351adb2db43ab27179a271a03d7d.zip |
"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
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 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 |