]> git.ipfire.org Git - thirdparty/cups.git/blame - config-scripts/cups-libtool.m4
Import changes from CUPS 1.4svn-r8704.
[thirdparty/cups.git] / config-scripts / cups-libtool.m4
CommitLineData
ef416fc2 1dnl
bc44d920 2dnl "$Id: cups-libtool.m4 6649 2007-07-11 21:46:42Z mike $"
ef416fc2 3dnl
4dnl Libtool stuff for the Common UNIX Printing System (CUPS).
5dnl
bf3816c7 6dnl Copyright 2007-2009 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
bc44d920 38dnl End of "$Id: cups-libtool.m4 6649 2007-07-11 21:46:42Z mike $".
ef416fc2 39dnl