summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon Nagl <simonnagl@aim.com>2019-02-11 10:40:16 +0100
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-02-11 10:40:16 +0100
commitd5cd94eed3c838a0f997c8a289c0f729e9da1eb7 (patch)
treef81e2852a0cc8ab91011eeb3b7f608396d3e51d6 /configure.ac
parent63d36dd9b0cce58ee16866bea6bab4435688bf33 (diff)
cups.plugin: Support older versions (#5350)
The usage of cupsGetIntegerOption did block users using older cups versions than 2.2.4. After redistribution this method all cups versions since 1.7 can be used. httpConnect2 is now the most recently added method in cups.h.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c84e4f4564..aceb3a4145 100644
--- a/configure.ac
+++ b/configure.ac
@@ -409,7 +409,8 @@ AM_CONDITIONAL([ENABLE_PLUGIN_FREEIPMI], [test "${enable_plugin_freeipmi}" = "ye
# -----------------------------------------------------------------------------
# cups.plugin - libmnl, libnetfilter_acct
- AC_CHECK_LIB([cups], [cupsGetIntegerOption],
+# Only check most recently added method of cups
+ AC_CHECK_LIB([cups], [httpConnect2],
[AC_CHECK_HEADER(
[cups/cups.h],
[have_cups=yes],