dnl
-dnl "$Id: configure.in,v 1.32 2000/02/29 14:47:27 mike Exp $"
+dnl "$Id: configure.in,v 1.33 2000/03/01 21:55:48 mike Exp $"
dnl
dnl Configuration script for the Common UNIX Printing System (CUPS).
dnl
AC_CHECK_FUNCS(wait3)
dnl Update compiler options...
-if test -n "$GXX"; then
+if test -n "$GCC"; then
if test -z "$OPTIM"; then
OPTIM="-O2 -g3"
fi
AC_OUTPUT(Makedefs)
dnl
-dnl End of "$Id: configure.in,v 1.32 2000/02/29 14:47:27 mike Exp $".
+dnl End of "$Id: configure.in,v 1.33 2000/03/01 21:55:48 mike Exp $".
dnl
/*
- * "$Id: ipp.c,v 1.54 2000/02/25 03:00:54 mike Exp $"
+ * "$Id: ipp.c,v 1.55 2000/03/01 21:55:49 mike Exp $"
*
* IPP routines for the Common UNIX Printing System (CUPS) scheduler.
*
DEBUG_printf(("get_printer_attrs(%08x, %08x)\n", con, uri));
+ LogMessage(L_DEBUG, "get_printer_attrs(%08x, \"%s\")\n", con,
+ uri->values[0].string.text);
/*
* Is the destination valid?
/*
- * End of "$Id: ipp.c,v 1.54 2000/02/25 03:00:54 mike Exp $".
+ * End of "$Id: ipp.c,v 1.55 2000/03/01 21:55:49 mike Exp $".
*/
/*
- * "$Id: lp.c,v 1.18 2000/02/28 19:17:46 mike Exp $"
+ * "$Id: lp.c,v 1.19 2000/03/01 21:55:50 mike Exp $"
*
* "lp" command for the Common UNIX Printing System (CUPS).
*
if (printer == NULL)
{
+ if (num_dests == 0)
+ num_dests = cupsGetDests(&dests);
+
for (j = 0, dest = dests; j < num_dests; j ++, dest ++)
if (dest->is_default)
{
{
if (printer == NULL)
{
+ if (num_dests == 0)
+ num_dests = cupsGetDests(&dests);
+
for (j = 0, dest = dests; j < num_dests; j ++, dest ++)
if (dest->is_default)
{
/*
- * End of "$Id: lp.c,v 1.18 2000/02/28 19:17:46 mike Exp $".
+ * End of "$Id: lp.c,v 1.19 2000/03/01 21:55:50 mike Exp $".
*/