fix AC_CHECK_LIB to work correctly with cups library (#5349)
Markos Fountoulakis committed
Feb 7, 2019 at 20:12 UTC
983636de2e5e36db887f4349bc5da987e3e36036
1 file changed
+1
-13
configure.ac
+1
-13
@@ -409,19 +409,7 @@ AM_CONDITIONAL([ENABLE_PLUGIN_FREEIPMI], [test "${enable_plugin_freeipmi}" = "ye
409
# -----------------------------------------------------------------------------
410
# cups.plugin - libmnl, libnetfilter_acct
411
412
- AC_CHECK_LIB([cups], [
413
- cupsEncryption,
414
- cupsFreeDests,
415
- cupsFreeJobs,
416
- cupsGetDests2,
417
- cupsGetIntegerOption,
418
- cupsGetJobs2,
419
- cupsGetOption,
420
- cupsServer,
421
- httpClose,
422
- httpConnect2,
423
- ippPort
424
-],
412
+ AC_CHECK_LIB([cups], [cupsGetIntegerOption],
413
[AC_CHECK_HEADER(
414
[cups/cups.h],
415
[have_cups=yes],