Revert "s3: Use cups-config --libs"
authorBjörn Jacke <bj@sernet.de>
Mon, 9 Aug 2010 16:37:58 +0000 (18:37 +0200)
committerBjörn Jacke <bj@sernet.de>
Thu, 12 Aug 2010 14:30:35 +0000 (16:30 +0200)
This reverts commit 911db761148. This was introduced in 18f1f5b56b140
intentionally.

source3/configure.in

index 294cd53c577edcf499c9047e9e45aa4dd3756639..4b92cd677e49547b8984710ff7432593fb6faf41 100644 (file)
@@ -818,7 +818,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="$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