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