Added check for cups/cups.h header file and a warning if we find only
runtime libraries, but no headers.
This commit is contained in:
parent
ed90b185f2
commit
3ee02babac
14
configure.in
14
configure.in
|
@ -370,9 +370,12 @@ fi
|
|||
|
||||
CUPSLIBS=""
|
||||
dnl **** Check for CUPS ****
|
||||
wine_cv_warn_cups_h=no
|
||||
AC_CHECK_LIB(cups,cupsGetPPD,
|
||||
AC_DEFINE(HAVE_CUPS)
|
||||
CUPSLIBS="-lcups"
|
||||
AC_CHECK_HEADER(cups/cups.h,
|
||||
AC_DEFINE(HAVE_CUPS)
|
||||
CUPSLIBS="-lcups",
|
||||
wine_cv_warn_cups_h=yes)
|
||||
)
|
||||
AC_SUBST(CUPSLIBS)
|
||||
|
||||
|
@ -1308,6 +1311,13 @@ then
|
|||
echo "*** support before reporting bugs."
|
||||
fi
|
||||
|
||||
if test "$wine_cv_warn_cups_h" = "yes"
|
||||
then
|
||||
echo
|
||||
echo "*** Note: You have cups runtime libraries, but no development"
|
||||
echo "*** libraries. Install the cups-devel package or whichever package"
|
||||
echo "*** contains cups.h to enable CUPS support in WINE."
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Configure finished. Do 'make depend && make' to compile Wine."
|
||||
|
|
Loading…
Reference in New Issue