summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hack-macros/gnome.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/hack-macros/gnome.m4 b/hack-macros/gnome.m4
index 067e4d61..458a0127 100644
--- a/hack-macros/gnome.m4
+++ b/hack-macros/gnome.m4
@@ -453,7 +453,7 @@ AC_ARG_ENABLE(gnometest, [ --disable-gnometest Do not try to compile and
AC_SUBST(GNORBA_CFLAGS)
AC_SUBST(GNORBA_LIBS)
elif test -n "$module"; then
- if $GNOME_CONFIG $gnome_config_args --cflags $module 2>/dev/null; then
+ if $GNOME_CONFIG $gnome_config_args --cflags $module >/dev/null 2>&1; then
tmp_bsnom=`echo $module | tr a-z A-Z`
eval $tmp_bsnom'_CFLAGS'=\"`$GNOME_CONFIG $gnome_config_args --cflags $module`\"
eval $tmp_bsnom'_LIBS'=\"`$GNOME_CONFIG $gnome_config_args --libs $module`\"