diff options
Diffstat (limited to 'cups-config.in')
-rwxr-xr-x | cups-config.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/cups-config.in b/cups-config.in index fdea47ea2..2f5ea715c 100755 --- a/cups-config.in +++ b/cups-config.in @@ -1,10 +1,10 @@ #! /bin/sh # -# "$Id: cups-config.in 4802 2005-10-19 13:48:06Z mike $" +# "$Id: cups-config.in 5134 2006-02-19 15:16:08Z mike $" # # CUPS configuration utility. # -# Copyright 2001-2005 by Easy Software Products, all rights reserved. +# Copyright 2001-2006 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the # property of Easy Software Products and are protected by Federal @@ -36,6 +36,7 @@ sysconfdir=@sysconfdir@ cups_datadir=@CUPS_DATADIR@ cups_serverbin=@CUPS_SERVERBIN@ cups_serverroot=@CUPS_SERVERROOT@ +INSTALLSTATIC=@INSTALLSTATIC@ # flags for C++ compiler: CFLAGS="" @@ -116,7 +117,11 @@ while test $# -gt 0; do echo $cups_serverroot ;; --static) - static=yes + if test -z "$INSTALLSTATIC"; then + echo "WARNING: Static libraries not installed!" >&2 + else + static=yes + fi ;; --version) echo $VERSION @@ -130,5 +135,5 @@ while test $# -gt 0; do done # -# End of "$Id: cups-config.in 4802 2005-10-19 13:48:06Z mike $". +# End of "$Id: cups-config.in 5134 2006-02-19 15:16:08Z mike $". # |