]> git.ipfire.org Git - thirdparty/cups.git/blob - config-scripts/cups-libtool.m4
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / config-scripts / cups-libtool.m4
1 dnl
2 dnl Libtool stuff for CUPS.
3 dnl
4 dnl Copyright 2007-2011 by Apple Inc.
5 dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
6 dnl
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 missing or damaged, see the license at "http://www.cups.org/".
12 dnl
13
14 AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported
15 build with libtool (UNSUPPORTED!)],
16 [if test x$enable_libtool_unsupported != xno; then
17 LIBTOOL="$enable_libtool_unsupported"
18 enable_shared=no
19 echo "WARNING: libtool is not supported or endorsed by Apple Inc."
20 echo " WE DO NOT PROVIDE SUPPORT FOR LIBTOOL PROBLEMS."
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