mirror of
https://github.com/samba-team/samba.git
synced 2025-01-31 01:48:16 +03:00
47702c8552
(This used to be commit 369a9c1ac1ff94a1d3f51eac20a39577f9cf2155)
17 lines
537 B
Plaintext
17 lines
537 B
Plaintext
############################################
|
|
# for cups support we need libcups, and a handful of header files
|
|
|
|
AC_ARG_ENABLE(cups,
|
|
[ --enable-cups Turn on CUPS support (default=auto)])
|
|
|
|
if test x$enable_cups != xno; then
|
|
AC_PATH_PROG(CUPS_CONFIG, cups-config)
|
|
|
|
if test "x$CUPS_CONFIG" != x; then
|
|
AC_DEFINE(HAVE_CUPS,1,[Whether we have CUPS])
|
|
CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
|
|
LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
|
|
PRINTLIBS="$PRINTLIBS `$CUPS_CONFIG --libs`"
|
|
fi
|
|
fi
|