Added check for cups/cups.h header file and a warning if we find only

runtime libraries, but no headers.
oldstable
Marcus Meissner 2001-04-30 18:18:50 +00:00 committed by Alexandre Julliard
parent ed90b185f2
commit 3ee02babac
2 changed files with 187 additions and 136 deletions

309
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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."