]> git.ipfire.org Git - thirdparty/cups.git/blame - config-scripts/cups-slp.m4
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / config-scripts / cups-slp.m4
CommitLineData
ef416fc2 1dnl
c07d5b2d 2dnl "$Id: cups-slp.m4 177 2006-06-21 00:20:03Z jlovell $"
ef416fc2 3dnl
4dnl OpenSLP configuration stuff for the Common UNIX Printing System (CUPS).
5dnl
6dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
7dnl
8dnl These coded instructions, statements, and computer programs are the
9dnl property of Easy Software Products and are protected by Federal
10dnl copyright law. Distribution and use rights are outlined in the file
11dnl "LICENSE.txt" which should have been included with this file. If this
12dnl file is missing or damaged please contact Easy Software Products
13dnl at:
14dnl
15dnl Attn: CUPS Licensing Information
16dnl Easy Software Products
17dnl 44141 Airport View Drive, Suite 204
18dnl Hollywood, Maryland 20636 USA
19dnl
20dnl Voice: (301) 373-9600
21dnl EMail: cups-info@cups.org
22dnl WWW: http://www.cups.org
23dnl
24
25AC_ARG_ENABLE(slp, [ --enable-slp turn on SLP support, default=yes])
26AC_ARG_WITH(openslp-libs, [ --with-openslp-libs set directory for OpenSLP library],
27 LDFLAGS="-L$withval $LDFLAGS"
28 DSOFLAGS="-L$withval $DSOFLAGS",)
29AC_ARG_WITH(openslp-includes, [ --with-openslp-includes set directory for OpenSLP includes],
30 CFLAGS="-I$withval $CFLAGS"
31 CXXFLAGS="-I$withval $CXXFLAGS"
32 CPPFLAGS="-I$withval $CPPFLAGS",)
33
34LIBSLP=""
35
36if test x$enable_slp != xno; then
37 AC_CHECK_HEADER(slp.h,
38 AC_CHECK_LIB(slp, SLPOpen,
39 AC_DEFINE(HAVE_LIBSLP)
40 LIBSLP="-lslp"))
41fi
42
43AC_SUBST(LIBSLP)
44
45
46dnl
c07d5b2d 47dnl End of "$Id: cups-slp.m4 177 2006-06-21 00:20:03Z jlovell $".
ef416fc2 48dnl