]> git.saurik.com Git - wxWidgets.git/commitdiff
don't warn about gnomeprint if we already have gtkprint
authorPaul Cornett <paulcor@bullseye.com>
Mon, 28 Nov 2011 04:51:51 +0000 (04:51 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 28 Nov 2011 04:51:51 +0000 (04:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index aa3b1c3c480ccbb4a876f44ec66b69649dda231c..acbae64330d51ef9c45156c43c85b7aa83ac66d6 100755 (executable)
--- a/configure
+++ b/configure
        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"
 
 
index fe75f8dcc109d6bac79ef805f4d3f0a7dc217bb2..775dc05a821c5d182ac1f847294ed782ab33409d 100644 (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"
                     ]
                 )