Kaydet (Commit) bae85254 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

No CUPS for Android or iOS

Change-Id: I34b65232b11111fef6473577decc0849d3443fce
üst 1d32c56f
...@@ -3633,10 +3633,18 @@ dnl =================================================================== ...@@ -3633,10 +3633,18 @@ dnl ===================================================================
if test "$enable_cups" = "no"; then if test "$enable_cups" = "no"; then
test_cups=no test_cups=no
ENABLE_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 else
ENABLE_CUPS="YES" ENABLE_CUPS="YES"
fi fi
AC_SUBST(ENABLE_CUPS) AC_SUBST(ENABLE_CUPS)
if test "$test_cups" = "yes"; then if test "$test_cups" = "yes"; then
AC_MSG_CHECKING([whether cups support is present]) AC_MSG_CHECKING([whether cups support is present])
AC_CHECK_LIB([cups], [cupsPrintFiles], [:]) AC_CHECK_LIB([cups], [cupsPrintFiles], [:])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment