Dropped the support of: $Options{"GetOptions_args"}
[macros.git] / glade-w.m4
index 763552d..a4ec588 100644 (file)
@@ -97,7 +97,7 @@ dnl           fi
                                [
                                export PATH_XVNC
                                export PATH_BC
-                               gladeun="`sh ./macros/glade-w.sh.in /dev/null 2>&1|grep -- 'Document is empty'`"
+                               gladeun="`sh $srcdir/macros/glade-w.sh.in /dev/null 2>&1|grep -- 'Document is empty'`"
                                if test "x$gladeun" != "x"
                                then
                                        glade_cv_can_xserver=yes
@@ -110,9 +110,9 @@ dnl                 fi
                                unset PATH_GLADE
                                if test "x$PATH_XVNC" = "x"
                                then
-                                       AC_MSG_WARN([GTK+/Gnome: Unable to access any valid X server, you should at least install Xvnc.])
+                                       AC_MSG_WARN([GTK+/Gnome: Unable to access any valid X server, give DISPLAY or install Xvnc(1) (vnc-server package).])
                                else
-                                       AC_MSG_WARN([GTK+/Gnome: Unable to access any valid X server, even Xvnc tried.])
+                                       AC_MSG_WARN([GTK+/Gnome: Unable to access any valid X server, DISPLAY and Xvnc(1) tried.])
                                fi
                        fi
                fi