]> git.ipfire.org Git - thirdparty/cups.git/blob - config-scripts/cups-libtool.m4
5fc0d6e3c55e83758dcbae4e09a53938e3562164
[thirdparty/cups.git] / config-scripts / cups-libtool.m4
1 dnl
2 dnl "$Id$"
3 dnl
4 dnl Libtool stuff for CUPS.
5 dnl
6 dnl Copyright 2007-2011 by Apple Inc.
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
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 AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported
17 build with libtool (UNSUPPORTED!)],
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 Apple Inc."
22 echo " WE DO NOT PROVIDE SUPPORT FOR LIBTOOL PROBLEMS."
23 else
24 LIBTOOL=""
25 fi])
26
27 AC_SUBST(LIBTOOL)
28
29 if test x$LIBTOOL != x; then
30 LIBCUPS="libcups.la"
31 LIBCUPSIMAGE="libcupsimage.la"
32 LINKCUPS="../cups/\$(LIBCUPS)"
33 LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)"
34 DSO="\$(CC)"
35 fi
36
37 dnl
38 dnl End of "$Id$".
39 dnl