Commit a991a568 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Don't use cups-config --libs, it returns garbage.

parent 294f1b4a
...@@ -15017,7 +15017,7 @@ if test "x$with_cups" != "xno" ...@@ -15017,7 +15017,7 @@ if test "x$with_cups" != "xno"
then then
ac_save_CPPFLAGS="$CPPFLAGS" ac_save_CPPFLAGS="$CPPFLAGS"
ac_cups_cflags=`cups-config --cflags 2>/dev/null` ac_cups_cflags=`cups-config --cflags 2>/dev/null`
ac_cups_libs="`cups-config --ldflags 2>/dev/null` `cups-config --libs 2>/dev/null`" ac_cups_libs=`cups-config --ldflags 2>/dev/null`
CPPFLAGS="$CPPFLAGS $ac_cups_cflags" CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
for ac_header in cups/cups.h for ac_header in cups/cups.h
......
...@@ -1125,7 +1125,7 @@ if test "x$with_cups" != "xno" ...@@ -1125,7 +1125,7 @@ if test "x$with_cups" != "xno"
then then
ac_save_CPPFLAGS="$CPPFLAGS" ac_save_CPPFLAGS="$CPPFLAGS"
ac_cups_cflags=`cups-config --cflags 2>/dev/null` ac_cups_cflags=`cups-config --cflags 2>/dev/null`
ac_cups_libs="`cups-config --ldflags 2>/dev/null` `cups-config --libs 2>/dev/null`" ac_cups_libs=`cups-config --ldflags 2>/dev/null`
CPPFLAGS="$CPPFLAGS $ac_cups_cflags" CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
AC_CHECK_HEADERS(cups/cups.h, AC_CHECK_HEADERS(cups/cups.h,
[WINE_CHECK_SONAME(cups,cupsGetDefault, [WINE_CHECK_SONAME(cups,cupsGetDefault,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment