annotate m4/buildsys.m4 @ 3203:f5456241bff9 default tip

changed include path from audacious to audlegacy.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 10 Nov 2009 05:19:25 +0900
parents f17af872dee0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
1 dnl
2978
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
2 dnl Copyright (c) 2007 - 2008, Jonathan Schleifer <js-buildsys@webkeks.org>
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
3 dnl
2378
e7d59a6ed443 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2147
diff changeset
4 dnl https://webkeks.org/hg/buildsys/
e7d59a6ed443 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2147
diff changeset
5 dnl
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
6 dnl Permission to use, copy, modify, and/or distribute this software for any
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
7 dnl purpose with or without fee is hereby granted, provided that the above
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
8 dnl copyright notice and this permission notice is present in all copies.
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
9 dnl
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
10 dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
11 dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
12 dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
13 dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
14 dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
15 dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
16 dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
17 dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
18 dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
a99495a865eb Import Mk2 core.
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
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
20 dnl POSSIBILITY OF SUCH DAMAGE.
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
21 dnl
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
22
1909
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
23 AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
2034
a21cc1e45080 Update buildsys. Please test.
Jonathan Schleifer <js@h3c.de>
parents: 1909
diff changeset
24 AC_MSG_CHECKING(whether we need an implib)
1909
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
25 case "$target" in
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
26 *-*-cygwin | *-*-mingw32)
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
27 AC_MSG_RESULT(yes)
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
28 PROG_IMPLIB_NEEDED='yes'
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
29 PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
30 ;;
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
31 *)
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
32 AC_MSG_RESULT(no)
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
33 PROG_IMPLIB_NEEDED='no'
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
34 PROG_IMPLIB_LDFLAGS=''
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
35 ;;
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
36 esac
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
37
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
38 AC_SUBST(PROG_IMPLIB_NEEDED)
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
39 AC_SUBST(PROG_IMPLIB_LDFLAGS)
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
40 ])
81b524aa7fcd implib.
Jonathan Schleifer <js@h3c.de>
parents: 1880
diff changeset
41
1879
81cdc01db60e Update buildsys (adds ${PROG_SUFFIX}).
Jonathan Schleifer <js@h3c.de>
parents: 1864
diff changeset
42 AC_DEFUN([BUILDSYS_SHARED_LIB], [
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
43 AC_MSG_CHECKING(for shared library system)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
44 case "$target" in
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
45 intel-apple-*)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
46 AC_MSG_RESULT([Mac OS X (Intel)])
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
47 LIB_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
48 LIB_CFLAGS='-fPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
49 LIB_LDFLAGS='-dynamiclib -fPIC -install_name ${libdir}/${LIB}'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
50 LIB_PREFIX='lib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
51 LIB_SUFFIX='.dylib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
52 PLUGIN_CPPFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
53 PLUGIN_CFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
54 PLUGIN_LDFLAGS='-bundle -fno-common -flat_namespace -undefined suppress'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
55 PLUGIN_SUFFIX='.impl'
a99495a865eb Import Mk2 core.
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'
a99495a865eb Import Mk2 core.
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'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
58 CLEAN_LIB=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
59 ;;
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
60 *-apple-*)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
61 AC_MSG_RESULT(Mac OS X)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
62 LIB_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
63 LIB_CFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
64 LIB_LDFLAGS='-dynamiclib -fPIC -install_name ${libdir}/${LIB}'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
65 LIB_PREFIX='lib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
66 LIB_SUFFIX='.dylib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
67 PLUGIN_CPPFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
68 PLUGIN_CFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
69 PLUGIN_LDFLAGS='-bundle -fno-common -flat_namespace -undefined suppress'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
70 PLUGIN_SUFFIX='.impl'
a99495a865eb Import Mk2 core.
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'
a99495a865eb Import Mk2 core.
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'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
73 CLEAN_LIB=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
74 ;;
1864
911853b3d451 Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 1763
diff changeset
75 *-*-solaris* | *-openbsd-* | *-mirbsd-*)
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
76 AC_MSG_RESULT(Solaris)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
77 LIB_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
78 LIB_CFLAGS='-fPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
79 LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
80 LIB_PREFIX='lib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
81 LIB_SUFFIX='.so'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
82 PLUGIN_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
83 PLUGIN_CFLAGS='-fPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
84 PLUGIN_LDFLAGS='-shared -fPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
85 PLUGIN_SUFFIX='.so'
1864
911853b3d451 Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 1763
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'
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
87 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
88 CLEAN_LIB=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
89 ;;
1880
Jonathan Schleifer <js@h3c.de>
parents: 1879
diff changeset
90 *-*-cygwin | *-*-mingw32)
1864
911853b3d451 Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 1763
diff changeset
91 AC_MSG_RESULT(Win32)
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
92 LIB_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
93 LIB_CFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
94 LIB_LDFLAGS='-shared -Wl,--out-implib,${LIB}.a'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
95 LIB_PREFIX='lib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
96 LIB_SUFFIX='.dll'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
97 PLUGIN_CPPFLAGS=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
98 PLUGIN_CFLAGS=''
1864
911853b3d451 Update sharedlib.m4.
Jonathan Schleifer <js@h3c.de>
parents: 1763
diff changeset
99 PLUGIN_LDFLAGS='-shared'
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
100 PLUGIN_SUFFIX='.dll'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
101 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i && ${INSTALL} -m 755 $$i.a ${DESTDIR}${libdir}/$$i.a'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
102 UNINSTALL_LIB='rm -f ${DESTDIR}${bindir}/$$i ${DESTDIR}${libdir}/$$i.a'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
103 CLEAN_LIB='${LIB}.a'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
104 ;;
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
105 *)
2978
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
106 AC_MSG_RESULT(GNU)
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
107 LIB_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
108 LIB_CFLAGS='-fPIC'
2378
e7d59a6ed443 Added HG repo URL to buildsys as a comment.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2147
diff changeset
109 LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}'
1763
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
110 LIB_PREFIX='lib'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
111 LIB_SUFFIX='.so'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
112 PLUGIN_CPPFLAGS='-DPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
113 PLUGIN_CFLAGS='-fPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
114 PLUGIN_LDFLAGS='-shared -fPIC'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
115 PLUGIN_SUFFIX='.so'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
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'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
117 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0'
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
118 CLEAN_LIB=''
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
119 ;;
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
120 esac
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
121
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
122 AC_SUBST(LIB_CPPFLAGS)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
123 AC_SUBST(LIB_CFLAGS)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
124 AC_SUBST(LIB_LDFLAGS)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
125 AC_SUBST(LIB_PREFIX)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
126 AC_SUBST(LIB_SUFFIX)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
127 AC_SUBST(PLUGIN_CPPFLAGS)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
128 AC_SUBST(PLUGIN_CFLAGS)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
129 AC_SUBST(PLUGIN_LDFLAGS)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
130 AC_SUBST(PLUGIN_SUFFIX)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
131 AC_SUBST(INSTALL_LIB)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
132 AC_SUBST(UNINSTALL_LIB)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
133 AC_SUBST(CLEAN_LIB)
a99495a865eb Import Mk2 core.
William Pitcock <nenolod@atheme.org>
parents:
diff changeset
134 ])
2978
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
135
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
136 AC_DEFUN([BUILDSYS_TOUCH_DEPS], [
2981
f17af872dee0 It seems that $as_echo is undefined on some systems. Fixed.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2980
diff changeset
137 ${as_echo:="echo"} "${as_me:="configure"}: Touching .deps files"
2978
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
138 for i in $(find . -name Makefile); do
2980
a73d4c88a6f3 Touch .deps files in the past so they are always recreated.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2978
diff changeset
139 touch -t 0001010000 $(dirname $i)/.deps
2978
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
140 done
a68a51138f4d Updated buildsys.
Jonathan Schleifer <js-audacious@webkeks.org>
parents: 2378
diff changeset
141 ])