[gs-cvs] rev 8035 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Fri Jun 8 17:16:34 PDT 2007
Author: giles
Date: 2007-06-08 17:16:34 -0700 (Fri, 08 Jun 2007)
New Revision: 8035
Modified:
trunk/gs/src/configure.ac
Log:
The cups-config script can be installed without the libcupsimage headers.
Check for this and disable gdevcups if the required header isn't available.
Modified: trunk/gs/src/configure.ac
===================================================================
--- trunk/gs/src/configure.ac 2007-06-08 18:12:46 UTC (rev 8034)
+++ trunk/gs/src/configure.ac 2007-06-09 00:16:34 UTC (rev 8035)
@@ -331,6 +331,7 @@
if ( test -d cups ); then
if test x$enable_cups != xno; then
AC_PATH_PROG(CUPSCONFIG,cups-config)
+ AC_CHECK_HEADER([cups/raster.h],[],[CUPSCONFIG=""])
if test "x$CUPSCONFIG" != x; then
dnl Use values from CUPS config...
# LIBS="`$CUPSCONFIG --ldflags` `$CUPSCONFIG --static --image --libs | sed -e '1,$s/-lssl//'` $LIBS"
More information about the gs-cvs
mailing list