]> git.ipfire.org Git - thirdparty/cups.git/blame - config-scripts/cups-libtool.m4
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / config-scripts / cups-libtool.m4
CommitLineData
ef416fc2 1dnl
503b54c9 2dnl Libtool stuff for CUPS.
ef416fc2 3dnl
503b54c9
MS
4dnl Copyright 2007-2011 by Apple Inc.
5dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
ef416fc2 6dnl
503b54c9
MS
7dnl These coded instructions, statements, and computer programs are the
8dnl property of Apple Inc. and are protected by Federal copyright
9dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
10dnl which should have been included with this file. If this file is
57b7b66b 11dnl missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 12dnl
13
bf3816c7
MS
14AC_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
25AC_SUBST(LIBTOOL)
26
27if test x$LIBTOOL != x; then
28 LIBCUPS="libcups.la"
29 LIBCUPSIMAGE="libcupsimage.la"
30 LINKCUPS="../cups/\$(LIBCUPS)"
31 LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)"
32 DSO="\$(CC)"
33fi