don't warn about gnomeprint if we already have gtkprint

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2011-11-28 04:51:51 +00:00
parent 3fb71b017d
commit f423075391
2 changed files with 17 additions and 3 deletions

14
configure vendored
View File

@@ -47219,15 +47219,25 @@ fi
echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
{ echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
if test "$wxUSE_GTKPRINT" = yes; then
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
else
{ echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
fi
wxUSE_LIBGNOMEPRINT="no"
elif test $pkg_failed = untried; then
{ echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
if test "$wxUSE_GTKPRINT" = yes; then
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
else
{ echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
fi
wxUSE_LIBGNOMEPRINT="no"

View File

@@ -5839,7 +5839,11 @@ if test "$WXGTK2" = 1; then
AC_DEFINE(wxUSE_LIBGNOMEPRINT)
],
[
AC_MSG_WARN([libgnomeprintui not found, library will use standard PostScript printing])
if test "$wxUSE_GTKPRINT" = yes; then
AC_MSG_RESULT(no)
else
AC_MSG_WARN([libgnomeprintui not found, library will use standard PostScript printing])
fi
wxUSE_LIBGNOMEPRINT="no"
]
)