printcap name = cups doesn't work
Michael Sweet
mike at easysw.com
Fri Sep 28 10:29:02 GMT 2001
Jeremy Allison wrote:
>
> On Fri, Sep 28, 2001 at 01:08:02PM -0400, Michael Sweet wrote:
> > "Gerald (Jerry) Carter" wrote:
> > >
> > > On Fri, 28 Sep 2001, Michael Sweet wrote:
> > >
> > > > printing = cups
> > > > printcap name = cups
> > >
> > > IIRC the "printing = cups" is for parsing the output from
> > > the "lpq command". The "printcap name = cups" should
> > > be all that is necessary for loading a lit of printers.
> >
> > OK, there is a bug in the configure.in file; attached is a patch to
> > make the CUPS test work... (HAVE_CUPS wasn't getting defined... :)
>
> Michael,
>
> Any chance of sending that as a diff -u, rather than
> the entire configure.in file :-).
Ooops! Clicked on the wrong file... :(
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw.com
Printing Software for UNIX http://www.easysw.com
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /cvsroot/samba/source/configure.in,v
retrieving revision 1.130.4.81
diff -u -r1.130.4.81 configure.in
--- configure.in 27 Sep 2001 03:56:57 -0000 1.130.4.81
+++ configure.in 28 Sep 2001 16:59:55 -0000
@@ -412,8 +412,8 @@
if test x"$ac_cv_lib_cups_httpConnect" = x"yes"; then
AC_CHECK_HEADERS(cups/cups.h cups/language.h)
- if x"$ac_cv_header_cups_cups_h" = x"yes"; then
- if x"$ac_cv_header_cups_language_h" = x"yes"; then
+ if test x"$ac_cv_header_cups_cups_h" = x"yes"; then
+ if test x"$ac_cv_header_cups_language_h" = x"yes"; then
AC_DEFINE(HAVE_CUPS)
fi
fi
@@ -615,7 +615,7 @@
AC_CHECK_FUNCS(waitpid getcwd strdup strtoul strerror chown fchown chmod fchmod chroot)
AC_CHECK_FUNCS(fstat strchr utime utimes getrlimit fsync bzero memset)
AC_CHECK_FUNCS(memmove vsnprintf snprintf asprintf vasprintf setsid glob strpbrk pipe crypt16 getauthuid)
-AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction innetgr setnetgrent getnetgrent endnetgrent)
+AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction sigset innetgr setnetgrent getnetgrent endnetgrent)
AC_CHECK_FUNCS(initgroups select poll rdchk getgrnam getgrent pathconf)
AC_CHECK_FUNCS(setpriv setgidx setuidx setgroups sysconf mktime rename ftruncate stat64 fstat64)
AC_CHECK_FUNCS(lstat64 fopen64 atexit grantpt dup2 lseek64 ftruncate64 readdir64)
More information about the samba-technical
mailing list