diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4643a67b64..185f91cd04 100644 --- a/configure.ac +++ b/configure.ac @@ -1409,6 +1409,12 @@ else $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 2; then AC_MSG_ERROR([CUPS >= 1.2 not found]) fi + if test $CUPS_API_MAJOR -gt 1 -o \ + $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 6; then + AC_DEFINE(HAVE_CUPS_API_1_6, 1, + [Define to 1 if CUPS 1.6 API is available]) + + fi AC_SUBST(CUPS_API_MAJOR) AC_SUBST(CUPS_API_MINOR) |