diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 73f2c48454e6..b09a93588939 100644 --- a/configure.in +++ b/configure.in @@ -848,6 +848,11 @@ AC_ARG_ENABLE(nsplugin, [Do not build nsplugin extension for browser embedding.]) ) +AC_ARG_ENABLE(cups, + AS_HELP_STRING([--disable-cups], + [Do not build cups support.]) +) + AC_ARG_ENABLE(ccache, AS_HELP_STRING([--disable-ccache], [Do not try to use ccache automatically. @@ -3605,6 +3610,13 @@ fi dnl check for cups support dnl =================================================================== +if test "$enable_cups" = "no"; then + test_cups=no + 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], [:]) |