]> git.ipfire.org Git - thirdparty/cups.git/blob - config-scripts/cups-pap.m4
Import changes from CUPS 1.4svn-r8704.
[thirdparty/cups.git] / config-scripts / cups-pap.m4
1 dnl
2 dnl "$Id$"
3 dnl
4 dnl PAP (AppleTalk) stuff for the Common UNIX Printing System (CUPS).
5 dnl
6 dnl Copyright 2007-2009 by Apple Inc.
7 dnl Copyright 2006 by Easy Software Products, all rights reserved.
8 dnl
9 dnl These coded instructions, statements, and computer programs are the
10 dnl property of Apple Inc. and are protected by Federal copyright
11 dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 dnl which should have been included with this file. If this file is
13 dnl file is missing or damaged, see the license at "http://www.cups.org/".
14 dnl
15
16 # Currently the PAP backend is only supported on MacOS X with the AppleTalk
17 # SDK installed...
18 AC_ARG_ENABLE(pap, [ --enable-pap build with AppleTalk support])
19
20 PAP=""
21 AC_SUBST(PAP)
22
23 if test x$enable_pap = xyes -a $uname = Darwin; then
24 AC_CHECK_HEADER(netat/appletalk.h,[
25 PAP="pap"
26 AC_CHECK_HEADER(AppleTalk/at_proto.h)])
27 fi
28
29 dnl
30 dnl End of "$Id$".
31 dnl