1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r1368: fix configure check so that if you set --enable-cups[=yes] and don't have the devel files, the configure script will exit with an error

(This used to be commit e2c7651e16)
This commit is contained in:
Gerald Carter 2004-07-06 19:24:34 +00:00 committed by Gerald (Jerry) Carter
parent 924ddbac48
commit 39354eaa6c

View File

@ -716,6 +716,8 @@ if test x$enable_cups != xno; then
CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
PRINT_LIBS="$PRINT_LIBS `$CUPS_CONFIG --libs`"
elif test x$enable_cups == xyes; then
AC_MSG_ERROR(Cups support required but cups-config not located. Make sure cups-devel related files are installed.)
fi
fi