]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
503b54c9 | 2 | dnl Libtool stuff for CUPS. |
ef416fc2 | 3 | dnl |
503b54c9 MS |
4 | dnl Copyright 2007-2011 by Apple Inc. |
5 | dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. | |
ef416fc2 | 6 | dnl |
503b54c9 MS |
7 | dnl These coded instructions, statements, and computer programs are the |
8 | dnl property of Apple Inc. and are protected by Federal copyright | |
9 | dnl law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | dnl which should have been included with this file. If this file is | |
11 | dnl file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 12 | dnl |
13 | ||
bf3816c7 MS |
14 | AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported |
15 | build with libtool (UNSUPPORTED!)], | |
ef416fc2 | 16 | [if test x$enable_libtool_unsupported != xno; then |
17 | LIBTOOL="$enable_libtool_unsupported" | |
18 | enable_shared=no | |
bf3816c7 MS |
19 | echo "WARNING: libtool is not supported or endorsed by Apple Inc." |
20 | echo " WE DO NOT PROVIDE SUPPORT FOR LIBTOOL PROBLEMS." | |
ef416fc2 | 21 | else |
22 | LIBTOOL="" | |
23 | fi]) | |
24 | ||
25 | AC_SUBST(LIBTOOL) | |
26 | ||
27 | if test x$LIBTOOL != x; then | |
28 | LIBCUPS="libcups.la" | |
29 | LIBCUPSIMAGE="libcupsimage.la" | |
30 | LINKCUPS="../cups/\$(LIBCUPS)" | |
31 | LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)" | |
32 | DSO="\$(CC)" | |
33 | fi |