summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-01-09 22:10:23 +0100
committerMichael Stahl <mstahl@redhat.com>2014-01-10 00:21:52 +0100
commit3b3c8c4796a89a76ce7574908096a91993412523 (patch)
treefb6513cf69d5476211a9eabf1669346e5440b724 /configure.ac
parente32f828e2b7a136ac255bfe1cc7e4858fa965e8d (diff)
configure: we need both cups header and library
Change-Id: Ie27a67b7d1086fbbce5eb40a56b4d154afb3faf8
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 276d93f4337b..689b122e43ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4688,7 +4688,7 @@ if test "$test_cups" = "yes"; then
AC_MSG_CHECKING([whether cups support is present])
AC_CHECK_LIB([cups], [cupsPrintFiles], [:])
AC_CHECK_HEADER(cups/cups.h, AC_DEFINE(HAVE_CUPS_H))
- if test "$ac_cv_lib_cups_cupsPrintFiles" != "yes" -a "$ac_cv_header_cups_cups_h" != "yes"; then
+ if test "$ac_cv_lib_cups_cupsPrintFiles" != "yes" -o "$ac_cv_header_cups_cups_h" != "yes"; then
AC_MSG_ERROR([Could not find CUPS. Install libcupsys2-dev or cups-devel.])
fi