annotate m4/buildsys.m4 @ 4661:e4e7999a21bc

Move D-Bus initialization before plugin system and playlist initialization. (The other changes in this changeset are to remedy the problem arising from the move, which resulted in annoying pause during startup due to D-Bus being initialized when assumed not to be.)
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 27 Jun 2008 17:57:39 +0300
parents 1d94382f0bde
children 9bc0c8a3a0f0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
1 dnl
3877
b5c8a7e2215d Change my mail.
Jonathan Schleifer <js@h3c.de>
parents: 3861
diff changeset
2 dnl Copyright (c) 2007, Jonathan Schleifer <js-buildsys@webkeks.org>
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
3 dnl
4275
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
4 dnl https://webkeks.org/hg/buildsys/
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
5 dnl
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
6 dnl Permission to use, copy, modify, and/or distribute this software for any
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
7 dnl purpose with or without fee is hereby granted, provided that the above
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
8 dnl copyright notice and this permission notice is present in all copies.
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
9 dnl
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
10 dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
11 dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
12 dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
13 dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
14 dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
15 dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
16 dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
17 dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
18 dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
19 dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
20 dnl POSSIBILITY OF SUCH DAMAGE.
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
21 dnl
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
22
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
23 AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
3723
d4794783f2ee Spelling fix. Spotted by nenolod.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents: 3657
diff changeset
24 AC_MSG_CHECKING(whether we need an implib)
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
25 case "$target" in
4275
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
26 *-*-cygwin | *-*-mingw32)
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
27 AC_MSG_RESULT(yes)
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
28 PROG_IMPLIB_NEEDED='yes'
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
29 PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
30 ;;
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
31 *)
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
32 AC_MSG_RESULT(no)
3657
e83412963c51 More implib stuff.
Jonathan Schleifer <js@h3c.de>
parents: 3656
diff changeset
33 PROG_IMPLIB_NEEDED='no'
3656
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
34 PROG_IMPLIB_LDFLAGS=''
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
35 ;;
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
36 esac
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
37
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
38 AC_SUBST(PROG_IMPLIB_NEEDED)
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
39 AC_SUBST(PROG_IMPLIB_LDFLAGS)
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
40 ])
db04d0916c22 implib for ${PROG} should finally work.
Jonathan Schleifer <js@h3c.de>
parents: 3653
diff changeset
41
3641
12500701b6dd Update buildsys (adds ${PROG_SUFFIX}).
Jonathan Schleifer <js@h3c.de>
parents: 3618
diff changeset
42 AC_DEFUN([BUILDSYS_SHARED_LIB], [
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
43 AC_MSG_CHECKING(for shared library system)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
44 case "$target" in
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
45 intel-apple-*)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
46 AC_MSG_RESULT([Mac OS X (Intel)])
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
47 LIB_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
48 LIB_CFLAGS='-fPIC'
3785
48daf98313e0 some MacOS fixes
William Pitcock <nenolod@atheme.org>
parents: 3763
diff changeset
49 LIB_LDFLAGS='-dynamiclib -fPIC -install_name ${libdir}/${LIB} -flat_namespace -undefined suppress'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
50 LIB_PREFIX='lib'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
51 LIB_SUFFIX='.dylib'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
52 PLUGIN_CPPFLAGS=''
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
53 PLUGIN_CFLAGS=''
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
54 PLUGIN_LDFLAGS='-bundle -fno-common -flat_namespace -undefined suppress'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
55 PLUGIN_SUFFIX='.impl'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
56 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
57 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib'
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
58 CLEAN_LIB=''
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
59 ;;
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
60 *-apple-*)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
61 AC_MSG_RESULT(Mac OS X)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
62 LIB_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
63 LIB_CFLAGS=''
3785
48daf98313e0 some MacOS fixes
William Pitcock <nenolod@atheme.org>
parents: 3763
diff changeset
64 LIB_LDFLAGS='-dynamiclib -fPIC -install_name ${libdir}/${LIB} -flat_namespace -undefined suppress'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
65 LIB_PREFIX='lib'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
66 LIB_SUFFIX='.dylib'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
67 PLUGIN_CPPFLAGS=''
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
68 PLUGIN_CFLAGS=''
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
69 PLUGIN_LDFLAGS='-bundle -fno-common -flat_namespace -undefined suppress'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
70 PLUGIN_SUFFIX='.impl'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
71 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
72 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib'
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
73 CLEAN_LIB=''
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
74 ;;
3618
f7ac1bd798bc Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 3596
diff changeset
75 *-*-solaris* | *-openbsd-* | *-mirbsd-*)
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
76 AC_MSG_RESULT(Solaris)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
77 LIB_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
78 LIB_CFLAGS='-fPIC'
4317
1d94382f0bde fixed linker arguments to gcc
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4275
diff changeset
79 LIB_LDFLAGS='-shared -fPIC -Wl,-soname,${LIB}.${LIB_MAJOR}.${LIB_MINOR}'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
80 LIB_PREFIX='lib'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
81 LIB_SUFFIX='.so'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
82 PLUGIN_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
83 PLUGIN_CFLAGS='-fPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
84 PLUGIN_LDFLAGS='-shared -fPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
85 PLUGIN_SUFFIX='.so'
3618
f7ac1bd798bc Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 3596
diff changeset
86 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR} && rm -f ${DESTDIR}${libdir}/$$i && ${LN_S} $$i.${LIB_MAJOR}.${LIB_MINOR} ${DESTDIR}${libdir}/$$i'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
87 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}'
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
88 CLEAN_LIB=''
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
89 ;;
3643
Jonathan Schleifer <js@h3c.de>
parents: 3641
diff changeset
90 *-*-cygwin | *-*-mingw32)
3618
f7ac1bd798bc Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 3596
diff changeset
91 AC_MSG_RESULT(Win32)
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
92 LIB_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
93 LIB_CFLAGS=''
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
94 LIB_LDFLAGS='-shared -Wl,--out-implib,${LIB}.a'
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
95 LIB_PREFIX='lib'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
96 LIB_SUFFIX='.dll'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
97 PLUGIN_CPPFLAGS=''
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
98 PLUGIN_CFLAGS=''
3618
f7ac1bd798bc Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 3596
diff changeset
99 PLUGIN_LDFLAGS='-shared'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
100 PLUGIN_SUFFIX='.dll'
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
101 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i && ${INSTALL} -m 755 $$i.a ${DESTDIR}${libdir}/$$i.a'
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
102 UNINSTALL_LIB='rm -f ${DESTDIR}${bindir}/$$i ${DESTDIR}${libdir}/$$i.a'
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
103 CLEAN_LIB='${LIB}.a'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
104 ;;
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
105 *)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
106 AC_MSG_RESULT(POSIX)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
107 LIB_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
108 LIB_CFLAGS='-fPIC'
4317
1d94382f0bde fixed linker arguments to gcc
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4275
diff changeset
109 LIB_LDFLAGS='-shared -fPIC -Wl,-soname,${LIB}.${LIB_MAJOR}'
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
110 LIB_PREFIX='lib'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
111 LIB_SUFFIX='.so'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
112 PLUGIN_CPPFLAGS='-DPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
113 PLUGIN_CFLAGS='-fPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
114 PLUGIN_LDFLAGS='-shared -fPIC'
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
115 PLUGIN_SUFFIX='.so'
4275
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
116 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0 && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i'
3e0a2cce15f6 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 3877
diff changeset
117 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0'
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
118 CLEAN_LIB=''
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
119 ;;
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
120 esac
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
121
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
122 AC_SUBST(LIB_CPPFLAGS)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
123 AC_SUBST(LIB_CFLAGS)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
124 AC_SUBST(LIB_LDFLAGS)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
125 AC_SUBST(LIB_PREFIX)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
126 AC_SUBST(LIB_SUFFIX)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
127 AC_SUBST(PLUGIN_CPPFLAGS)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
128 AC_SUBST(PLUGIN_CFLAGS)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
129 AC_SUBST(PLUGIN_LDFLAGS)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
130 AC_SUBST(PLUGIN_SUFFIX)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
131 AC_SUBST(INSTALL_LIB)
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
132 AC_SUBST(UNINSTALL_LIB)
3594
fa49ef305f59 Some buildsys fixes for Windows.
Jonathan Schleifer <js@h3c.de>
parents: 3586
diff changeset
133 AC_SUBST(CLEAN_LIB)
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
134 ])