No CUPS for Android or iOS
Change-Id: I34b65232b11111fef6473577decc0849d3443fce
This commit is contained in:
parent
1d32c56f36
commit
bae852548b
1 changed files with 8 additions and 0 deletions
|
@ -3633,10 +3633,18 @@ dnl ===================================================================
|
|||
if test "$enable_cups" = "no"; then
|
||||
test_cups=no
|
||||
ENABLE_CUPS="NO"
|
||||
elif test "$enable_cups" = "yes"; then
|
||||
if test $_os = iOS -o $_os = Android; then
|
||||
AC_MSG_ERROR([CUPS makes no sense for $_os])
|
||||
fi
|
||||
ENABLE_CUPS="YES"
|
||||
elif test $_os = iOS -o $_os = Android; then
|
||||
ENABLE_CUPS=NO
|
||||
else
|
||||
ENABLE_CUPS="YES"
|
||||
fi
|
||||
AC_SUBST(ENABLE_CUPS)
|
||||
|
||||
if test "$test_cups" = "yes"; then
|
||||
AC_MSG_CHECKING([whether cups support is present])
|
||||
AC_CHECK_LIB([cups], [cupsPrintFiles], [:])
|
||||
|
|
Loading…
Reference in a new issue