summaryrefslogtreecommitdiff
path: root/cups-config.in
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2011-08-31 01:58:55 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2011-08-31 01:58:55 +0000
commita48458814a4c26a6430b27105c0ab747c907473f (patch)
tree321dfed9e981030f7d4e14ef9a2c8185c9ce9eb9 /cups-config.in
parent771bd8cbffe1ffb06d90b2c7f00191830e6b738c (diff)
downloadcups-a48458814a4c26a6430b27105c0ab747c907473f.tar.gz
Merge changes from CUPS 1.6svn-r9939.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3392 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups-config.in')
-rwxr-xr-xcups-config.in30
1 files changed, 8 insertions, 22 deletions
diff --git a/cups-config.in b/cups-config.in
index f59abe0bb..7ba104477 100755
--- a/cups-config.in
+++ b/cups-config.in
@@ -1,10 +1,10 @@
#! /bin/sh
#
-# "$Id: cups-config.in 7394 2008-03-21 23:41:43Z mike $"
-#
+# "$Id: cups-config.in 9926 2011-08-27 09:23:01Z mike $"
+#
# CUPS configuration utility.
#
-# Copyright 2007-2010 by Apple Inc.
+# Copyright 2007-2011 by Apple Inc.
# Copyright 2001-2006 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
@@ -15,7 +15,7 @@
#
VERSION="@CUPS_VERSION@"
-APIVERSION="1.5"
+APIVERSION="1.6"
BUILD="@CUPS_BUILD@"
prefix=@prefix@
@@ -35,8 +35,7 @@ INSTALLSTATIC=@INSTALLSTATIC@
# flags for C++ compiler:
CFLAGS=""
LDFLAGS="@EXPORT_LDFLAGS@"
-LIBS="@LIBGSSAPI@ @EXPORT_SSLLIBS@ @EXPORT_LIBZ@ @LIBS@"
-IMGLIBS="@EXPORT_LIBTIFF@ @EXPORT_LIBJPEG@ @EXPORT_LIBPNG@"
+LIBS="@LIBGSSAPI@ @EXPORT_SSLLIBS@ @LIBZ@ @LIBS@"
# Check for local invocation...
selfdir=`dirname $0`
@@ -46,9 +45,6 @@ if test -f "$selfdir/cups/cups.h"; then
LDFLAGS="-L$selfdir/cups -L$selfdir/filter $LDFLAGS"
libdir="$selfdir/cups"
imagelibdir="$selfdir/filter"
- if test ! -f "$selfdir/cups/raster.h"; then
- ln -s ../filter/raster.h "$selfdir/cups"
- fi
else
if test $includedir != /usr/include; then
CFLAGS="$CFLAGS -I$includedir"
@@ -68,7 +64,7 @@ usage ()
echo " cups-config --datadir"
echo " cups-config --help"
echo " cups-config --ldflags"
- echo " cups-config [--driver] [--image] [--static] --libs"
+ echo " cups-config [--image] [--static] --libs"
echo " cups-config --serverbin"
echo " cups-config --serverroot"
echo " cups-config --version"
@@ -83,7 +79,6 @@ fi
# Parse command line options
static=no
image=no
-driver=no
while test $# -gt 0; do
case $1 in
@@ -99,9 +94,6 @@ while test $# -gt 0; do
--datadir)
echo $cups_datadir
;;
- --driver)
- driver=yes
- ;;
--help)
usage 0
;;
@@ -117,16 +109,10 @@ while test $# -gt 0; do
if test $image = yes; then
libs="@EXTLINKCUPSIMAGE@ $libs"
fi
- if test $driver = yes; then
- libs="@EXTLINKCUPSDRIVER@ $libs"
- fi
else
libs="$libdir/libcups.a $LIBS";
if test $image = yes; then
- libs="$libdir/libcupsimage.a $IMGLIBS $libs"
- fi
- if test $driver = yes; then
- libs="$libdir/libcupsdriver.a $libs"
+ libs="$libdir/libcupsimage.a $libs"
fi
fi
echo $libs
@@ -156,5 +142,5 @@ while test $# -gt 0; do
done
#
-# End of "$Id: cups-config.in 7394 2008-03-21 23:41:43Z mike $".
+# End of "$Id: cups-config.in 9926 2011-08-27 09:23:01Z mike $".
#