diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-01-09 22:10:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-10 19:56:10 +0000 |
commit | ba5c3753f736cdca9b6ffea4bf3db2e9b31d4ee2 (patch) | |
tree | c7b40de95f371c73e35fabd6cf3c0d2b79321e3e /configure.ac | |
parent | 33e089f8c57a9a945cc77f583c8031c5ea9919d0 (diff) |
configure: we need both cups header and library
Change-Id: Ie27a67b7d1086fbbce5eb40a56b4d154afb3faf8
(cherry picked from commit 3b3c8c4796a89a76ce7574908096a91993412523)
Reviewed-on: https://gerrit.libreoffice.org/7348
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9887963ed853..ccf270425b1c 100644 --- a/configure.ac +++ b/configure.ac @@ -4647,7 +4647,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 |