]> git.ipfire.org Git - thirdparty/cups.git/blame - config-scripts/cups-libtool.m4
Merge changes from CUPS 1.4svn-r8329.
[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
bc44d920 6dnl Copyright 2007 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
16AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported=LIBTOOL_PATH
17 turn on building with libtool (UNSUPPORTED!), default=no],
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 Easy Software Products."
22 echo " WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS."
23 echo " (even if you have a support contract)"
24 else
25 LIBTOOL=""
26 fi])
27
28AC_SUBST(LIBTOOL)
29
30if test x$LIBTOOL != x; then
31 LIBCUPS="libcups.la"
32 LIBCUPSIMAGE="libcupsimage.la"
33 LINKCUPS="../cups/\$(LIBCUPS)"
34 LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)"
35 DSO="\$(CC)"
36fi
37
38dnl
bc44d920 39dnl End of "$Id: cups-libtool.m4 6649 2007-07-11 21:46:42Z mike $".
ef416fc2 40dnl