]> git.ipfire.org Git - thirdparty/cups.git/blob - config-scripts/cups-libtool.m4
Load cups into easysw/current.
[thirdparty/cups.git] / config-scripts / cups-libtool.m4
1 dnl
2 dnl "$Id: cups-libtool.m4 5466 2006-04-26 19:52:27Z mike $"
3 dnl
4 dnl Libtool stuff for the Common UNIX Printing System (CUPS).
5 dnl
6 dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
7 dnl
8 dnl These coded instructions, statements, and computer programs are the
9 dnl property of Easy Software Products and are protected by Federal
10 dnl copyright law. Distribution and use rights are outlined in the file
11 dnl "LICENSE.txt" which should have been included with this file. If this
12 dnl file is missing or damaged please contact Easy Software Products
13 dnl at:
14 dnl
15 dnl Attn: CUPS Licensing Information
16 dnl Easy Software Products
17 dnl 44141 Airport View Drive, Suite 204
18 dnl Hollywood, Maryland 20636 USA
19 dnl
20 dnl Voice: (301) 373-9600
21 dnl EMail: cups-info@cups.org
22 dnl WWW: http://www.cups.org
23 dnl
24
25 AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported=LIBTOOL_PATH
26 turn on building with libtool (UNSUPPORTED!), default=no],
27 [if test x$enable_libtool_unsupported != xno; then
28 LIBTOOL="$enable_libtool_unsupported"
29 enable_shared=no
30 echo "WARNING: libtool is not supported or endorsed by Easy Software Products."
31 echo " WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS."
32 echo " (even if you have a support contract)"
33 else
34 LIBTOOL=""
35 fi])
36
37 AC_SUBST(LIBTOOL)
38
39 if test x$LIBTOOL != x; then
40 LIBCUPS="libcups.la"
41 LIBCUPSIMAGE="libcupsimage.la"
42 LINKCUPS="../cups/\$(LIBCUPS)"
43 LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)"
44 DSO="\$(CC)"
45 fi
46
47 dnl
48 dnl End of "$Id: cups-libtool.m4 5466 2006-04-26 19:52:27Z mike $".
49 dnl