Commit 39354eaa authored by Gerald Carter's avatar Gerald Carter Committed by Gerald (Jerry) Carter
Browse files

r1368: fix configure check so that if you set --enable-cups[=yes] and don't...

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 e2c7651e1625f7967f992ba76645a4340ea2d0dd)
parent 924ddbac
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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