[gtk+/gtk-3-20] configure: fix detecting CUPS 2.x



commit d7c1a34bfd91c07db34d83205dd9f6d569f46f05
Author: Misty De Meo <mistydemeo github com>
Date:   Thu Jun 16 15:59:27 2016 -0700

    configure: fix detecting CUPS 2.x
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767766

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 23d3077..89722cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1472,7 +1472,7 @@ else
     CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
     CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
 
-    if test $CUPS_API_MAJOR -gt 1 -o \
+    if test $CUPS_API_MAJOR -lt 1 -o \
             $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 2; then
       AC_MSG_ERROR([CUPS >= 1.2 not found])
     fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]