Don't try remote activation if no hostname or username is given... Fix for
authorElliot Lee <sopwith@src.gnome.org>
Fri, 3 Mar 2000 22:42:47 +0000 (22:42 +0000)
committerElliot Lee <sopwith@src.gnome.org>
Fri, 3 Mar 2000 22:42:47 +0000 (22:42 +0000)
* libgnomeui/oafgnome.c: Don't try remote activation if no hostname or username is given...
* gnome-config.in: Fix for orbit-idl flags.
* gnome.m4: Send everything from gnome-config into /dev/null, not just errors. We just need exit code.

svn path=/trunk/; revision=1152

hack-macros/gnome.m4

index 067e4d6..458a012 100644 (file)
@@ -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`\"