diff options
author | Jeremy Allison <jra@samba.org> | 2005-09-20 23:28:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:41 -0500 |
commit | c762908074c45baacde1df04b633e01308030864 (patch) | |
tree | 2d564b844bc03e8bba9ba00f61f426ccc4fd8b53 /source3/configure.in | |
parent | 1970294ab3df66d36b713dc8811527ddc8e99bd0 (diff) | |
download | samba-c762908074c45baacde1df04b633e01308030864.tar.gz samba-c762908074c45baacde1df04b633e01308030864.tar.bz2 samba-c762908074c45baacde1df04b633e01308030864.zip |
r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy.
(This used to be commit 155dc2d52a971bfb8d7565c06f3efc637e130b11)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index dbb27d1a60..a3fac89514 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -862,6 +862,17 @@ if test x$enable_cups != xno; then fi fi +AC_ARG_ENABLE(iprint, +[ --enable-iprint Turn on iPrint support (default=yes if cups is yes)]) + +if test x$enable_iprint != xno; then + if test "x$CUPS_CONFIG" != x; then + AC_DEFINE(HAVE_IPRINT,1,[Whether we have iPrint]) + elif test x"$enable_iprint" = x"yes"; then + AC_MSG_ERROR(iPrint support required but cups not enabled. Make sure cups-devel related files are installed and that cups is enabled.) + fi +fi + ############################################ # we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code AC_SEARCH_LIBS(dlopen, [dl]) |