]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
bc44d920 | 2 | dnl "$Id: cups-libtool.m4 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 3 | dnl |
4 | dnl Libtool stuff for the Common UNIX Printing System (CUPS). | |
5 | dnl | |
bc44d920 | 6 | dnl Copyright 2007 by Apple Inc. |
ef416fc2 | 7 | dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. |
8 | dnl | |
9 | dnl These coded instructions, statements, and computer programs are the | |
bc44d920 | 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/". | |
ef416fc2 | 14 | dnl |
15 | ||
16 | AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported=LIBTOOL_PATH | |
17 | turn on building with libtool (UNSUPPORTED!), default=no], | |
18 | [if test x$enable_libtool_unsupported != xno; then | |
19 | LIBTOOL="$enable_libtool_unsupported" | |
20 | enable_shared=no | |
21 | echo "WARNING: libtool is not supported or endorsed by Easy Software Products." | |
22 | echo " WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS." | |
23 | echo " (even if you have a support contract)" | |
24 | else | |
25 | LIBTOOL="" | |
26 | fi]) | |
27 | ||
28 | AC_SUBST(LIBTOOL) | |
29 | ||
30 | if test x$LIBTOOL != x; then | |
31 | LIBCUPS="libcups.la" | |
32 | LIBCUPSIMAGE="libcupsimage.la" | |
33 | LINKCUPS="../cups/\$(LIBCUPS)" | |
34 | LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)" | |
35 | DSO="\$(CC)" | |
36 | fi | |
37 | ||
38 | dnl | |
bc44d920 | 39 | dnl End of "$Id: cups-libtool.m4 6649 2007-07-11 21:46:42Z mike $". |
ef416fc2 | 40 | dnl |