summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-09-15 19:41:58 +0200
committerBjörn Jacke <bj@sernet.de>2009-09-15 19:48:32 +0200
commit18f1f5b56b14070fee0748b72b473507bfe99357 (patch)
tree1a4e24a02cf90edcf593e3ffc51d0cda3cfdba9e
parent5a01071692db91a4ea7131e31c41b6426d184758 (diff)
downloadsamba-18f1f5b56b14070fee0748b72b473507bfe99357.tar.gz
samba-18f1f5b56b14070fee0748b72b473507bfe99357.tar.bz2
samba-18f1f5b56b14070fee0748b72b473507bfe99357.zip
s3: ignore cups-config to tidy up library dependencies
contrary to krb5-config for example, which outputs useful things, cups-config --libs does not output libs we have to link against. It outputs libs that cups linked against. We just have to link against cups.
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 4eaebcab6d..a922e3fb7e 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -743,7 +743,7 @@ if test x$enable_cups != xno; then
ac_save_PRINT_LIBS=$PRINT_LIBS
CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
- PRINT_LIBS="$PRINT_LIBS `$CUPS_CONFIG --libs`"
+ PRINT_LIBS="-lcups"
AC_CHECK_HEADERS(cups/cups.h cups/language.h)
if test x"$ac_cv_header_cups_cups_h" = xyes -a \
x"$ac_cv_header_cups_language_h" = xyes; then