Mercurial > audlegacy
annotate configure.ac @ 1711:c7c1e346bb55 trunk
[svn] - no more busy loop if a file in playlist disappears.
author | yaz |
---|---|
date | Fri, 15 Sep 2006 21:36:31 -0700 |
parents | ffa7b9168190 |
children | 320ce198ab34 |
rev | line source |
---|---|
0 | 1 dnl Process this file with autoconf to produce a configure script. |
2 | |
1603 | 3 AC_INIT(audacious, 1.2.0) |
1420 | 4 AC_PREREQ([2.59]) |
0 | 5 |
6 AC_CANONICAL_HOST | |
7 AC_CANONICAL_TARGET | |
8 | |
9 AC_CONFIG_HEADERS([config.h]) | |
10 | |
11 dnl libbeep | |
12 LIBBEEP_MAJOR_VERSION=2 | |
13 LIBBEEP_MINOR_VERSION=0 | |
14 LIBBEEP_MICRO_VERSION=0 | |
15 LIBBEEP_VERSION=$LIBBEEP_MAJOR_VERSION.$LIBBEEP_MINOR_VERSION.$LIBBEEP_MICRO_VERSION | |
16 AC_SUBST(LIBBEEP_MAJOR_VERSION) | |
17 AC_SUBST(LIBBEEP_MINOR_VERSION) | |
18 AC_SUBST(LIBBEEP_MICRO_VERSION) | |
19 | |
38 | 20 dnl XXX kludge for FreeBSD |
21 if test -d "/usr/X11R6/include"; then | |
22 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include" | |
23 fi | |
0 | 24 |
756 | 25 AM_INIT_AUTOMAKE |
26 | |
0 | 27 dnl GNU gettext |
28 | |
29 AM_GNU_GETTEXT | |
30 AM_GNU_GETTEXT_VERSION([0.12.1]) | |
31 | |
32 | |
33 dnl Check for C compiler | |
34 | |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
35 AC_PROG_CC |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
36 AC_PROG_CXX |
0 | 37 AC_ISC_POSIX |
38 AC_C_BIGENDIAN | |
39 | |
40 dnl Check for assembler | |
41 | |
42 AM_PROG_AS | |
43 | |
44 dnl Checks for various programs | |
45 | |
46 AC_PROG_INSTALL | |
47 AC_PROG_LN_S | |
48 AC_PROG_MAKE_SET | |
49 | |
750 | 50 AC_PATH_PROG(RM, rm) |
51 AC_PATH_PROG(MV, mv) | |
52 AC_PATH_PROG(CP, cp) | |
53 AC_PATH_PROG(AR, ar) | |
54 AC_PATH_PROG(RANLIB, ranlib) | |
55 | |
0 | 56 dnl Path settings |
57 | |
58 AC_PATH_PROG(BEEP_PATH, audacious, no) | |
59 | |
60 AC_ARG_WITH(rc-path, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
61 [ --rc-path=path Resource and configuration path for audacious relative to $HOME.], |
0 | 62 [rc_path=$withval], |
63 [rc_path=.audacious] | |
64 ) | |
65 AC_DEFINE_UNQUOTED(BMP_RCPATH, "$rc_path", | |
535 | 66 [Resource and configuration path for audacious relative to $HOME.] |
0 | 67 ) |
68 AC_SUBST(BMP_RCPATH) | |
69 | |
70 AC_ARG_ENABLE(one-plugin-dir, | |
71 [ --enable-one-plugin-dir Use a single plugin dir [default=no]], | |
72 [enable_one_plugin_dir=$enableval], | |
73 [enable_one_plugin_dir=no] | |
74 ) | |
75 | |
76 AC_ARG_ENABLE(user-plugin-dir, | |
77 [ --disable-user-plugin-dir disable per-user plugin dir], | |
78 [enable_user_plugin_dir=$enableval], | |
79 [enable_user_plugin_dir=yes] | |
80 ) | |
81 | |
82 AC_ARG_WITH(dev-dsp, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
83 [ --with-dev-dsp=path Path to OSS DSP data pipe, default is /dev/dsp.], |
0 | 84 [dev_dsp=$withval], |
85 [dev_dsp=/dev/dsp] | |
86 ) | |
87 AC_DEFINE_UNQUOTED(DEV_DSP, "$dev_dsp", | |
88 [Path to OSS DSP, really just a data pipe, default is /dev/dsp.] | |
89 ) | |
90 | |
91 AC_ARG_WITH(dev-mixer, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
92 [ --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer.], |
0 | 93 [dev_mixer=$withval], |
94 [dev_mixer=/dev/mixer] | |
95 ) | |
96 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer", | |
97 [Path to OSS mixer, default is /dev/mixer.] | |
98 ) | |
99 | |
100 AC_ARG_WITH(cdda-device, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
101 [ --with-cdda-device=path Path to default cdaudio device.], |
0 | 102 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval", |
103 [Path to default cdaudio device.] | |
104 ) | |
105 ] | |
106 ) | |
107 | |
108 AC_ARG_WITH(cdda-dir, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
109 [ --with-cdda-dir=path Path to default cdaudio directory.], |
0 | 110 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval", |
111 [Path to default cdaudio directory.] | |
112 ) | |
113 ] | |
114 ) | |
115 | |
634 | 116 dnl These plugins are always built. |
0 | 117 |
1703
409444cb0605
[svn] - only build cdaudio plugin if we support DAE
nenolod
parents:
1701
diff
changeset
|
118 INPUT_PLUGINS="tonegen console sexypsf wav cue" |
820 | 119 OUTPUT_PLUGINS="disk_writer" |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
120 EFFECT_PLUGINS="audiocompress ladspa voice_removal" |
710
500f6d54bc46
[svn] Remove references to inetctl from the build system.
chainsaw
parents:
706
diff
changeset
|
121 GENERAL_PLUGINS="song_change" |
634 | 122 VISUALIZATION_PLUGINS="blur_scope" |
1562 | 123 CONTAINER_PLUGINS="m3u pls" |
0 | 124 |
125 dnl Option to change equalizer to the old XMMS one which only works with the mpg123 | |
126 dnl plugin (or rather, only implemented within the plugin) | |
127 | |
128 AC_ARG_WITH(xmms-eq, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
129 [ --with-xmms-eq Use old XMMS equalization code.], |
0 | 130 [use_xmms_eq=$withval], |
131 [use_xmms_eq=no] | |
132 ) | |
133 | |
134 if test "$use_xmms_eq" = "yes"; then | |
135 AC_DEFINE(XMMS_EQ, , [Define if building with old XMMS equalization code.]) | |
136 fi | |
137 | |
138 dnl Check for GTK/GLib/GThread/Pango | |
139 | |
535 | 140 PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.6.0 gtk+-2.0 >= 2.6.0 gthread-2.0 pango], |
141 [ADD_PC_REQUIRES([glib-2.0 >= 2.6.0, gtk+-2.0 >= 2.6.0])], | |
0 | 142 [AC_MSG_ERROR([Cannot find glib2/gtk2/pango])] |
143 ) | |
144 | |
145 dnl Check for libglade | |
146 | |
147 PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= 2.3.1], | |
148 [], | |
149 [AC_MSG_ERROR([Cannot find libglade])] | |
150 ) | |
151 | |
967
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
152 AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, [no], [$PATH:$prefix/bin]) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
153 if test "x$TAGLIB_CONFIG" = "xno" ; then |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
154 AC_MSG_ERROR([Cannot find taglib]) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
155 else |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
156 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`] |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
157 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`] |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
158 fi |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
159 AC_SUBST(TAGLIB_CFLAGS) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
160 AC_SUBST(TAGLIB_LIBS) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
161 |
0 | 162 # Check if socklen_t is defined |
163 | |
164 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t, | |
165 [AC_TRY_COMPILE( | |
166 [#include <sys/types.h> | |
167 #include <sys/socket.h>], | |
168 [socklen_t s;], | |
169 [beep_cv_type_socklen_t=yes], | |
170 [beep_cv_type_socklen_t=no] | |
171 ) | |
172 ] | |
173 ) | |
174 | |
175 if test "$beep_cv_type_socklen_t" = "no"; then | |
176 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing]) | |
177 fi | |
178 | |
978 | 179 dnl IPv6 support |
180 dnl ======================== | |
181 AC_ARG_ENABLE(ipv6, | |
182 [ --enable-ipv6 enable IPv6 support (default=no)], | |
183 enable_ipv6=$enableval, enable_ipv6=no) | |
184 if test "x$enable_ipv6" = xyes; then | |
185 AC_DEFINE(USE_IPV6,, [Define if building with IPv6 support] ) | |
186 fi | |
187 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = xyes) | |
188 AC_SUBST(USE_IPV6) | |
189 | |
1622 | 190 dnl plugin stuff |
191 dnl ======================== | |
192 | |
193 dnl Ok, first we find out what flags we need to use. | |
194 AC_MSG_CHECKING([for what extension and flags to use for plugin compilation]) | |
195 case "$target" in | |
196 *-apple-*) | |
1657
81e057e03c1f
[svn] - ensure that the module symtable is consistantly unique on Mach-O bundles
nenolod
parents:
1656
diff
changeset
|
197 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib]) |
1624
d863bca9b6d7
[svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should.
nenolod
parents:
1622
diff
changeset
|
198 PICFLAGS="-fPIC -DPIC" |
1657
81e057e03c1f
[svn] - ensure that the module symtable is consistantly unique on Mach-O bundles
nenolod
parents:
1656
diff
changeset
|
199 PICLDFLAGS="-fPIC -DPIC -bundle -fno-common -flat_namespace -undefined suppress" |
1630 | 200 LIBLDFLAGS="-dynamiclib" |
201 AUDLDFLAGS="" | |
1622 | 202 SHARED_SUFFIX=".dylib" |
203 ;; | |
204 *) | |
205 AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so]) | |
1624
d863bca9b6d7
[svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should.
nenolod
parents:
1622
diff
changeset
|
206 PICFLAGS="-fPIC -DPIC" |
1622 | 207 PICLDFLAGS="-fPIC -DPIC -shared" |
1630 | 208 LIBLDFLAGS="-fPIC -DPIC -shared" |
209 AUDLDFLAGS="-Wl,-export-dynamic -Wl,-rpath=\${libdir}" | |
1622 | 210 SHARED_SUFFIX=".so" |
211 ;; | |
212 esac | |
213 AC_SUBST(PICFLAGS) | |
1626 | 214 AC_SUBST(PICLDFLAGS) |
1630 | 215 AC_SUBST(LIBLDFLAGS) |
216 AC_SUBST(AUDLDFLAGS) | |
1622 | 217 AC_SUBST(SHARED_SUFFIX) |
1632 | 218 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", |
1631 | 219 [Define the shared module suffix extension on your platform.]) |
1622 | 220 |
221 AC_MSG_CHECKING([if you are running Apple-GCC]) | |
222 case "$target" in | |
223 *-apple-*) | |
224 AC_MSG_RESULT([yes, sorry you poor bastard]) | |
225 LDFLAGS="$LDFLAGS -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" | |
226 ;; | |
227 *) | |
228 AC_MSG_RESULT([no]) | |
229 ;; | |
230 esac | |
231 | |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
232 dnl chardet support |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
233 dnl ======================== |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
234 AC_ARG_ENABLE(chardet, |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
235 [ --enable-chardet enable character set detection support (default=no)], |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
236 enable_chardet=$enableval, enable_chardet=no) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
237 if test "x$enable_chardet" = xyes; then |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
238 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) |
1317
a698348c5155
[svn] - libaac: potential buffer overflow vulnerability fix
nenolod
parents:
1265
diff
changeset
|
239 AC_CHECK_LIB(guess, guess_jp, [SUBDIR_GUESS=[''] CHARDET_LIBS=['-lguess']], [SUBDIR_GUESS=['libguess'] CHARDET_LIBS=['../libguess/libguess.a']]) |
1613
9becbe564217
[svn] - chardet patch for Russian language witten by Valentine Sinitsyn.
yaz
parents:
1603
diff
changeset
|
240 AC_CHECK_LIB(rcd, rcdGetRussianCharset, [CHARDET_LIBS=["$CHARDET_LIBS -lrcd"]], [SUBDIR_GUESS=["$SUBDIR_GUESS librcd"] CHARDET_LIBS=["$CHARDET_LIBS ../librcd/librcd.a"]]) |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
241 AC_CHECK_LIB(udet_c, detectCharset, [AC_DEFINE(HAVE_UDET, 1,[Define if the system has Mozilla universal character detector library]) CHARDET_LIBS=["$CHARDET_LIBS -ludet -ludet_c"]]) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
242 fi |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
243 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
244 AC_SUBST(USE_CHARDET) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
245 AC_SUBST(CHARDET_LIBS) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
246 AC_SUBST(SUBDIR_GUESS) |
0 | 247 |
248 dnl GConf support | |
249 | |
250 AC_ARG_ENABLE( gconf, | |
251 [ --enable-gconf enable GConf support (default=disabled)], | |
252 [enable_gconf=$enableval], | |
253 [enable_gconf="no"] | |
254 ) | |
255 | |
256 if test "$enable_gconf" = "yes"; then | |
257 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0], | |
258 [ | |
259 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support]) | |
260 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0]) | |
261 ], | |
262 [AC_MSG_ERROR([Cannot find GConf])] | |
263 ) | |
264 fi | |
265 | |
727 | 266 if test "$enable_gconf" = "yes"; then |
267 CONFIGDB_BACKEND="gconf" | |
268 else | |
269 CONFIGDB_BACKEND="rcfile" | |
270 fi | |
0 | 271 |
727 | 272 AC_SUBST(CONFIGDB_BACKEND) |
0 | 273 |
274 dnl GnomeVFS support | |
275 | |
276 AC_ARG_ENABLE( gnome-vfs, | |
277 [ --enable-gnome-vfs enable GnomeVFS support (default=disabled)], | |
278 [enable_gnomevfs=$enableval], | |
279 [enable_gnomevfs="no"] | |
280 ) | |
281 | |
282 if test "$enable_gnomevfs" = "yes"; then | |
283 PKG_CHECK_MODULES(GNOMEVFS, [gnome-vfs-2.0 >= 2.6.0], | |
284 [ | |
285 AC_DEFINE(HAVE_GNOME_VFS, , [Define if building with GnomeVFS support]) | |
286 ADD_PC_REQUIRES([gnome-vfs-2.0 >= 2.6.0]) | |
287 ], | |
288 [AC_MSG_ERROR([Cannot find GnomeVFS])] | |
289 ) | |
290 fi | |
291 | |
726 | 292 if test "$enable_gnomevfs" = "yes"; then |
293 VFS_BACKEND="gnome" | |
294 else | |
295 VFS_BACKEND="stdio" | |
296 fi | |
0 | 297 |
727 | 298 AC_SUBST(VFS_BACKEND) |
299 | |
0 | 300 dnl Check for esound |
301 | |
302 AC_ARG_ENABLE( esd, | |
303 [ --disable-esd disable esound output plugin [default=enabled]], | |
304 [enable_esd=$enableval], | |
305 [enable_esd="yes"] | |
306 ) | |
307 | |
308 if test "$enable_esd" = "yes"; then | |
309 PKG_CHECK_MODULES(ESD, [esound >= 0.2], | |
634 | 310 [have_esd=yes |
311 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"], | |
0 | 312 [have_esd=no] |
313 ) | |
314 else | |
315 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) | |
316 have_esd=no | |
317 fi | |
318 | |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
319 dnl Check for PulseAudio |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
320 |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
321 AC_ARG_ENABLE( pulse, |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
322 [ --disable-pulse disable PulseAudio output plugin [default=enabled]], |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
323 [enable_pulse=$enableval], |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
324 [enable_pulse="yes"] |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
325 ) |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
326 |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
327 if test "$enable_pulse" = "yes"; then |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
328 PKG_CHECK_MODULES(PULSE, [libpulse >= 0.9.3], |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
329 [have_pulse=yes |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
330 OUTPUT_PLUGINS="$OUTPUT_PLUGINS pulse_audio"], |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
331 [have_pulse=no] |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
332 ) |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
333 else |
1700 | 334 AC_MSG_RESULT([*** pulseaudio output plugin disabled per user request ***]) |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
335 have_pulse=no |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
336 fi |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
337 |
1700 | 338 dnl *** CoreAudio |
339 | |
340 AC_ARG_ENABLE(coreaudio, | |
341 [ --disable-coreaudio disable CoreAudio output plugin (default=enabled)], | |
342 [enable_coreaudio=$enableval], | |
343 [enable_coreaudio="yes"] | |
344 ) | |
345 | |
346 if test "$enable_coreaudio" = "yes"; then | |
347 AC_CHECK_HEADERS([CoreServices/CoreServices.h], | |
348 [have_coreaudio=yes | |
349 OUTPUT_PLUGINS="$OUTPUT_PLUGINS CoreAudio"], | |
350 [have_coreaudio=no]) | |
351 else | |
352 AC_MSG_RESULT([*** CoreAudio output plugin disabled per user request ***]) | |
353 have_coreaudio=no | |
354 fi | |
355 | |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
356 dnl *** AltiVec |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
357 |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
358 AC_CHECK_HEADERS(altivec.h, |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
359 [AC_DEFINE(HAVE_ALTIVEC, 1, [Define to 1 if your system has AltiVec.]) |
1398
1ddaf20ab50e
[svn] AltiVec support for WMA, by Luca "lu_zero" Barbato from Gentoo.
chainsaw
parents:
1394
diff
changeset
|
360 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Define to 1 if your system has an altivec.h file.]) |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
361 AC_DEFINE(ARCH_POWERPC, 1, [Define to 1 if your system is a PowerPC.]) |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
362 DCT64=dct64_altivec.c], |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
363 [DCT64=dct64.c] |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
364 ) |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
365 AC_SUBST(DCT64) |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
366 |
0 | 367 dnl *** MP3 |
368 | |
369 AC_ARG_ENABLE(mp3, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
370 [ --disable-mp3 disable mp3 plugin. (default=enabled) ], |
0 | 371 [enable_mp3=$enableval], |
372 [enable_mp3=yes] | |
373 ) | |
374 | |
634 | 375 if test "$enable_mp3" = "yes"; then |
1660 | 376 INPUT_PLUGINS="$INPUT_PLUGINS mpg123" |
377 PKG_CHECK_MODULES(LIBNMS,[libnms >= 0.6.0], | |
1667 | 378 [LIBNMS_SRC=rtsp.c |
1660 | 379 AC_DEFINE(HAVE_NEMESI,,[Define if rtp/rtsp support is available]) |
380 ],[LIBNMS_SRC=""]) | |
381 AC_SUBST(LIBNMS_CFLAGS) | |
382 AC_SUBST(LIBNMS_LIBS) | |
383 AC_SUBST(LIBNMS_SRC) | |
634 | 384 fi |
0 | 385 |
1457
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
386 dnl *** ThinkLight support |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
387 |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
388 AC_CHECK_FILE([/proc/acpi/ibm/light], [VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight"]) |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
389 |
157 | 390 dnl *** LIRC client libraries |
391 | |
392 AC_ARG_ENABLE(lirc, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
393 [ --disable-lirc disable LIRC plugin (default=enabled)], |
157 | 394 [enable_lirc=$enableval], |
395 [enable_lirc="yes"] | |
396 ) | |
397 | |
398 if test "$enable_lirc" = "yes"; then | |
399 AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no]) | |
400 else | |
401 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) | |
402 have_lirc="no" | |
403 fi | |
634 | 404 |
405 if test "$have_lirc" = "yes"; then | |
406 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc" | |
407 fi | |
157 | 408 |
1493
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
409 dnl *** libnotify requirement |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
410 |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
411 AC_ARG_ENABLE(notify, |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
412 [ --disable-notify disable libnotify plugin (default=enabled)], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
413 [enable_libnotify=$enableval], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
414 [enable_libnotify="yes"] |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
415 ) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
416 |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
417 if test "$enable_libnotify" = "yes"; then |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
418 PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.2], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
419 [have_libnotify=yes |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
420 GENERAL_PLUGINS="$GENERAL_PLUGINS notify"], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
421 [have_libnotify=no] |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
422 ) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
423 else |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
424 AC_MSG_RESULT([*** libnotify plugin disabled per user request ***]) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
425 have_libnotify="no" |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
426 fi |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
427 |
386 | 428 dnl *** AdPlug requirement (libbinio) |
359 | 429 |
430 AC_ARG_ENABLE(adplug, | |
431 [ --disable-adplug disable AdPlug plugin (default=enabled)], | |
432 [enable_adplug=$enableval], | |
433 [enable_adplug="yes"] | |
434 ) | |
435 | |
386 | 436 if test "$enable_adplug" = "yes"; then |
406
5928c035fa4e
[svn] Use the pkg-config database to link with libbinio in a portable way. Requires libbinio 1.4 (or higher).
chainsaw
parents:
393
diff
changeset
|
437 have_adplug="yes" |
5928c035fa4e
[svn] Use the pkg-config database to link with libbinio in a portable way. Requires libbinio 1.4 (or higher).
chainsaw
parents:
393
diff
changeset
|
438 PKG_CHECK_MODULES(BINIO,[libbinio >= 1.4],,[have_adplug=no]) |
359 | 439 else |
440 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) | |
441 have_adplug="no" | |
442 fi | |
634 | 443 |
444 if test "$have_adplug" = "yes"; then | |
445 INPUT_PLUGINS="$INPUT_PLUGINS adplug" | |
446 fi | |
359 | 447 |
0 | 448 dnl *** Ogg Vorbis |
449 | |
450 AC_ARG_ENABLE(vorbis, | |
451 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], | |
452 [enable_vorbis=$enableval], | |
453 [enable_vorbis="yes"] | |
454 ) | |
455 | |
456 if test "$enable_vorbis" = "yes"; then | |
457 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], | |
458 [have_oggvorbis=yes], | |
1701
021f87117ac9
[svn] - do not AC_MSG_ERROR() when libvorbis is not present, just notify the user that vorbis support won't be built
nenolod
parents:
1700
diff
changeset
|
459 [AC_MSG_WARN([*** Cannot find libogg/libvorbis, Ogg Vorbis support will not be built ***]) |
0 | 460 have_oggvorbis=no] |
461 ) | |
462 else | |
463 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***]) | |
464 have_oggvorbis=no | |
465 fi | |
466 | |
634 | 467 if test "$have_oggvorbis" = "yes"; then |
468 INPUT_PLUGINS="$INPUT_PLUGINS vorbis" | |
469 fi | |
0 | 470 |
2 | 471 dnl *** AAC |
472 | |
473 AC_ARG_ENABLE(aac, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
474 [ --disable-aac disable aac plugin (default=enabled) ], |
2 | 475 [enable_aac=$enableval], |
476 [enable_aac=yes] | |
477 ) | |
478 | |
706 | 479 if test "$enable_aac" = "yes"; then |
634 | 480 INPUT_PLUGINS="$INPUT_PLUGINS aac" |
481 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
482 |
165 | 483 dnl *** sndfile |
484 | |
485 AC_ARG_ENABLE(sndfile, | |
486 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], | |
487 [enable_sndfile=$enableval], | |
488 [enable_sndfile=yes] | |
489 ) | |
490 | |
491 if test "$enable_sndfile" = "yes"; then | |
492 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], | |
493 [enable_sndfile=yes], | |
494 [enable_sndfile=no] | |
495 ) | |
496 else | |
497 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) | |
498 enable_sndfile=no | |
499 fi | |
500 | |
634 | 501 if test "$enable_sndfile" = "yes"; then |
725 | 502 WAV_SNDFILE="-sndfile" |
634 | 503 fi |
504 | |
725 | 505 AC_SUBST(WAV_SNDFILE) |
165 | 506 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
507 dnl *** modplug |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
508 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
509 AC_ARG_ENABLE(modplug, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
510 [ --disable-modplug disable ModPlug plugin (default=enabled)], |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
511 [enable_modplug=$enableval], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
512 [enable_modplug="yes"] |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
513 ) |
32 | 514 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
515 if test "$enable_modplug" = "yes"; then |
1375
d2c411305bf8
[svn] Modplug conftest fix by Christian "Joker" Birchinger from Gentoo.
chainsaw
parents:
1366
diff
changeset
|
516 AC_CHECK_LIB([modplug],[XMLinearTable],[have_modplug=yes],[have_modplug=no],[-lstdc++]) |
32 | 517 else |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
518 AC_MSG_RESULT([*** ModPlug plugin disabled per user request ***]) |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
519 have_modplug="no" |
32 | 520 fi |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
521 |
634 | 522 if test "$have_modplug" = "yes"; then |
523 INPUT_PLUGINS="$INPUT_PLUGINS modplug" | |
524 fi | |
32 | 525 |
50 | 526 dnl *** flac |
1537 | 527 AC_ARG_ENABLE( flac, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
528 [ --disable-flac disable flac input plugin (default=enabled)],, |
50 | 529 enable_flac="yes") |
530 | |
531 if test "x$enable_flac" = xyes; then | |
532 AM_PATH_LIBFLAC(have_flac=yes, have_flac=no) | |
533 else | |
534 AC_MSG_RESULT([*** flac plugin disabled per user request ***]) | |
535 have_flac=no | |
536 fi | |
634 | 537 |
538 if test "$have_flac" = "yes"; then | |
539 INPUT_PLUGINS="$INPUT_PLUGINS flac" | |
540 fi | |
32 | 541 |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
542 dnl *** WMA |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
543 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
544 AC_ARG_ENABLE(wma, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
545 [ --disable-wma disable wma plugin. (default=enabled)], |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
546 [enable_wma=$enableval], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
547 [enable_wma=yes] |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
548 ) |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
549 |
634 | 550 if test "$enable_wma" = "yes"; then |
551 INPUT_PLUGINS="$INPUT_PLUGINS wma" | |
552 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
553 |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
554 dnl *** jack output plugin |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
555 AC_ARG_ENABLE( jack, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
556 [ --disable-jack disable jack output plugin (default=enabled)],, |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
557 enable_jack="yes") |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
558 |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
559 if test "x$enable_jack" = xyes; then |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
560 AM_PATH_JACK(have_jack=yes, have_jack=no) |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
561 else |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
562 AC_MSG_RESULT([*** jack plugin disabled per user request ***]) |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
563 have_jack=no |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
564 fi |
634 | 565 |
566 if test "$have_jack" = yes; then | |
567 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack" | |
568 fi | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
569 |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
570 dnl *** arts output plugin |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
571 AC_ARG_ENABLE( arts, |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
572 [ --disable-arts disable arts output plugin (default=enabled)],, |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
573 enable_arts="yes") |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
574 |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
575 if test "x$enable_arts" = xyes; then |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
576 AM_PATH_ARTSC(0.9.5, have_arts=yes, have_arts=no) |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
577 else |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
578 AC_MSG_RESULT([*** arts plugin disabled per user request ***]) |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
579 have_arts=no |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
580 fi |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
581 |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
582 if test "$have_arts" = yes; then |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
583 OUTPUT_PLUGINS="$OUTPUT_PLUGINS arts" |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
584 fi |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
585 |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
586 dnl *** sid |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
587 AC_ARG_ENABLE( sid, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
588 [ --disable-sid disable sid input plugin (default=enabled)],, |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
589 enable_sid="yes") |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
590 |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
591 if test "x$enable_sid" = xyes; then |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
592 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
593 else |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
594 AC_MSG_RESULT([*** sid plugin disabled per user request ***]) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
595 have_sidplay=no |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
596 fi |
634 | 597 |
598 if test "$have_sidplay" = yes; then | |
599 INPUT_PLUGINS="$INPUT_PLUGINS sid" | |
600 fi | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
601 |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
602 dnl *** Musepack |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
603 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
604 AC_ARG_ENABLE(musepack, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
605 [ --disable-musepack disable musepack input plugin (default=enabled)], |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
606 [enable_musepack=$enableval], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
607 [enable_musepack="yes"] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
608 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
609 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
610 if test "$enable_musepack" = "yes"; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
611 AC_CHECK_HEADERS(mpcdec/config_types.h,, |
319
1e642d74d68c
[svn] Do not abort if libmpc is not found, just disable musepack plugin.
chainsaw
parents:
293
diff
changeset
|
612 enable_musepack=no |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
613 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
614 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
615 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
616 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
617 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
618 |
634 | 619 if test "$enable_musepack" = "yes"; then |
620 INPUT_PLUGINS="$INPUT_PLUGINS musepack" | |
621 fi | |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
622 |
0 | 623 dnl *** OSS output |
624 | |
625 AC_ARG_ENABLE(oss, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
626 [ --disable-oss disable the OSS output plugin (default=enabled)], |
1705
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
627 [enable_oss=$enableval], |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
628 [enable_oss=yes] |
0 | 629 ) |
630 | |
1705
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
631 have_oss=no |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
632 if test "$enable_oss" = "yes"; then |
0 | 633 AC_MSG_CHECKING(for OSS include dir) |
634 OSS_CFLAGS="" | |
635 if test -f "/etc/oss.conf" ; then | |
636 for i in `cat /etc/oss.conf`; do | |
637 t=`echo $i | sed -e 's/OSSLIBDIR=//'` | |
638 if test "$i" != "$t" ; then | |
639 if test -f "$t/include/sys/soundcard.h" ; then | |
640 OSS_CFLAGS="-I$t/include" | |
641 fi | |
642 fi | |
643 done | |
644 fi | |
645 if test -n "$OSS_CFLAGS" ; then | |
646 AC_MSG_RESULT([$OSS_CFLAGS]) | |
647 else | |
648 AC_MSG_RESULT([not found]) | |
649 fi | |
650 CFLAGS_save=$CFLAGS | |
651 CFLAGS="$CFLAGS $OSS_CFLAGS" | |
652 AC_CHECK_HEADERS(sys/soundcard.h) | |
653 AC_CHECK_HEADERS(machine/soundcard.h) | |
654 CFLAGS=$CFLAGS_save | |
655 | |
1705
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
656 if test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes" || test "${ac_cv_header_soundcard_h}" = "yes"; then |
0 | 657 have_oss=yes |
1697
e4d9d2657d9a
[svn] This adds -lossaudio to the OSS and esd plugin on platforms having that libs. With this, Audacious finally build & runs perfectly on OpenBSD.
js
parents:
1675
diff
changeset
|
658 |
1705
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
659 AC_MSG_CHECKING(whether we need -lossaudio) |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
660 AC_TRY_LINK([ |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
661 #include <sys/ioctl.h> |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
662 #ifdef HAVE_SYS_SOUNDCARD_H |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
663 #include <sys/soundcard.h> |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
664 #else |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
665 #include <soundcard.h> |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
666 #endif |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
667 ], [ |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
668 int fd, value; |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
669 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value); |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
670 ], AC_MSG_RESULT(no), [ |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
671 OSS_LIBS="-lossaudio" |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
672 AC_MSG_RESULT(yes) |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
673 ]) |
ffa7b9168190
[svn] - do not build OSS plugin unless we really can
nenolod
parents:
1703
diff
changeset
|
674 fi |
0 | 675 fi |
676 | |
677 if test "$have_oss" = "yes"; then | |
678 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built]) | |
679 else | |
680 have_oss=no | |
681 fi | |
682 | |
634 | 683 if test "$have_oss" = "yes"; then |
684 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS" | |
685 fi | |
0 | 686 |
1697
e4d9d2657d9a
[svn] This adds -lossaudio to the OSS and esd plugin on platforms having that libs. With this, Audacious finally build & runs perfectly on OpenBSD.
js
parents:
1675
diff
changeset
|
687 AC_SUBST(OSS_LIBS) |
e4d9d2657d9a
[svn] This adds -lossaudio to the OSS and esd plugin on platforms having that libs. With this, Audacious finally build & runs perfectly on OpenBSD.
js
parents:
1675
diff
changeset
|
688 |
0 | 689 dnl *** ALSA output plugin |
690 | |
691 AC_ARG_ENABLE(alsa, | |
692 [ --disable-alsa disable ALSA input plugin (default=enabled)], | |
693 [enable_alsa=$enableval], | |
694 [enable_alsa=yes] | |
695 ) | |
696 | |
697 if test "$enable_alsa" = "yes"; then | |
698 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
699 [ |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
700 have_alsa=yes |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
701 alsalib_available=yes |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
702 ], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
703 [ |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
704 have_alsa=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
705 alsalib_available=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
706 ] |
0 | 707 ) |
708 else | |
709 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***]) | |
710 have_alsa=no | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
711 alsalib_available=check |
0 | 712 fi |
713 | |
635
6a9e1af8ee75
[svn] Check for have_alsa to enable ALSA, and not have_oss.
chainsaw
parents:
634
diff
changeset
|
714 if test "$have_alsa" = "yes"; then |
634 | 715 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa" |
716 fi | |
0 | 717 |
1387 | 718 |
719 dnl *** amidi-plug (note: to avoid checking twice ALSA, this should appear somewhere after the alsa ouput plugin check) | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
720 |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
721 AC_ARG_ENABLE(amidiplug, |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
722 [ --disable-amidiplug disable amidi-plug input plugin (default=check) ], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
723 [enable_amidiplug=$enableval], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
724 [enable_amidiplug=check] |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
725 ) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
726 |
1387 | 727 AC_ARG_ENABLE(amidiplug-alsa, |
728 [ --disable-amidiplug-alsa disable amidi-plug ALSA backend (default=enabled) ], | |
729 [enable_amidiplug_alsa=$enableval], | |
730 [enable_amidiplug_alsa=auto] | |
731 ) | |
732 | |
733 AC_ARG_ENABLE(amidiplug-flsyn, | |
734 [ --disable-amidiplug-flsyn disable amidi-plug FluidSynth backend (default=enabled) ], | |
735 [enable_amidiplug_fluidsynth=$enableval], | |
736 [enable_amidiplug_fluidsynth=auto] | |
737 ) | |
738 | |
739 AC_ARG_ENABLE(amidiplug-dummy, | |
740 [ --disable-amidiplug-dummy disable amidi-plug dummy backend (default=enabled) ], | |
741 [enable_amidiplug_dummy=$enableval], | |
742 [enable_amidiplug_dummy=auto] | |
743 ) | |
744 | |
745 | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
746 if test "x$enable_amidiplug" = "xno"; then |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
747 AC_MSG_RESULT([*** amidi-plug disabled per user request ***]) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
748 enable_amidiplug=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
749 else |
1387 | 750 if test "x$enable_amidiplug_alsa" != "xauto"; then |
751 enable_amidiplug=yes | |
752 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then | |
753 enable_amidiplug=yes | |
754 elif test "x$enable_amidiplug_dummy" != "xauto"; then | |
755 enable_amidiplug=yes | |
756 fi | |
757 fi | |
758 | |
759 if test "x$enable_amidiplug" = "xcheck"; then | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
760 if test "x$alsalib_available" = "xcheck"; then |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
761 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
762 [alsalib_available=yes],[alsalib_available=no]) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
763 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
764 if test "x$alsalib_available" = "xyes"; then |
1387 | 765 AM_PATH_AMIDIPLUG_HWSYNTH(ap_have_hwsynth=yes, ap_have_hwsynth=no) |
766 if test "x$ap_have_hwsynth" = "xyes"; then | |
767 enable_amidiplug=yes | |
768 ap_disable_timidity=yes | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
769 else |
1387 | 770 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
771 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
772 if test "x$fluidsynth_available" = "xyes"; then | |
773 enable_amidiplug=yes | |
774 ap_disable_timidity=yes | |
775 else | |
776 enable_amidiplug=no | |
777 AC_MSG_WARN([*** Neither an ALSA-supported hardware synth or FluidSynth software synth (>= 1.0.6) have been found (even if ALSA was detected), so amidi-plug won't be compiled unless you explicitly request it with --enable-amidiplug ***]) | |
778 fi | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
779 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
780 else |
1387 | 781 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
782 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
783 if test "x$fluidsynth_available" = "xyes"; then | |
784 enable_amidiplug=yes | |
785 ap_disable_timidity=yes | |
786 else | |
787 enable_amidiplug=no | |
788 AC_MSG_WARN([*** Neither ALSA or FluidSynth software synth (>= 1.0.6) have been found, so amidi-plug won't be compiled unless you explicitly request it with --enable-amidiplug ***]) | |
789 fi | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
790 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
791 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
792 |
1387 | 793 if test "x$enable_amidiplug" = "xyes"; then |
794 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" | |
795 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0],,) | |
796 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,) | |
1671
daabad781796
[svn] - amidi-plug 0.6 imported; among other improvements, multiple soundfont loading for fluidsynth backend and option to extract/display lyrics and comments contained in midi files
giacomo
parents:
1667
diff
changeset
|
797 AMIDIPLUGBACKENDDIR=${libdir}/amidi-plug/backends |
daabad781796
[svn] - amidi-plug 0.6 imported; among other improvements, multiple soundfont loading for fluidsynth backend and option to extract/display lyrics and comments contained in midi files
giacomo
parents:
1667
diff
changeset
|
798 AC_SUBST(AMIDIPLUGBACKENDDIR) |
1387 | 799 if test "x$enable_amidiplug_alsa" = "xauto" -o "x$enable_amidiplug_alsa" = "xyes"; then |
800 if test "x$alsalib_available" = "xcheck"; then | |
801 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
802 [alsalib_available=yes],[alsalib_available=no]) | |
803 fi | |
804 if test "x$alsalib_available" = "xyes"; then | |
805 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa" | |
806 enable_amidiplug_alsa=yes | |
807 else | |
808 if test "x$enable_amidiplug_alsa" = "xyes"; then | |
809 AC_MSG_ERROR([Cannot find ALSA development files (ver >= 1.0), but compilation of AMIDI-Plug ALSA backend has been explicitly requested; please install ALSA dev files and run configure again]) | |
810 enable_amidiplug_alsa=no | |
811 else | |
812 enable_amidiplug_alsa=no | |
813 fi | |
814 fi | |
815 fi | |
816 if test "x$enable_amidiplug_fluidsynth" = "xauto" -o "x$enable_amidiplug_fluidsynth" = "xyes"; then | |
817 if test "x$fluidsynth_available" != "xyes" -a "x$fluidsynth_available" != "xno"; then | |
818 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], | |
819 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
820 fi | |
821 if test "x$fluidsynth_available" = "xyes"; then | |
822 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth" | |
823 enable_amidiplug_fluidsynth=yes | |
824 else | |
825 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then | |
826 AC_MSG_ERROR([Cannot find FluidSynth development files (ver >= 1.0.6), but compilation of AMIDI-Plug FluidSynth backend has been explicitly requested; please install FluidSynth dev files and run configure again]) | |
827 enable_amidiplug_fluidsynth=no | |
828 else | |
829 enable_amidiplug_fluidsynth=no | |
830 fi | |
831 fi | |
832 fi | |
833 if test "x$enable_amidiplug_dummy" = "xauto" -o "x$enable_amidiplug_dummy" = "xyes"; then | |
834 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy" | |
835 enable_amidiplug_dummy=yes | |
836 fi | |
837 AC_SUBST(AMIDIPLUG_BACKENDS) | |
634 | 838 fi |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
839 |
1387 | 840 if test "x$enable_amidiplug" = "xyes"; then |
841 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" | |
842 fi | |
843 | |
844 | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
845 dnl *** TiMidity input plugin (note: should appear somewhere after the amidi-plug check) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
846 |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
847 AC_ARG_ENABLE(timidity, |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
848 [ --disable-timidity disable timidity plugin. (default=enabled)], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
849 [enable_timidity=$enableval], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
850 [ |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
851 if test "x$ap_disable_timidity" = "xyes"; then |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
852 enable_timidity=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
853 else |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
854 enable_timidity=yes |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
855 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
856 ] |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
857 ) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
858 |
634 | 859 if test "$enable_timidity" = "yes"; then |
860 INPUT_PLUGINS="$INPUT_PLUGINS timidity" | |
861 fi | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
862 |
0 | 863 dnl FreeBSD newpcm driver detection |
864 | |
865 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver, | |
866 if test -r "/dev/sndstat"; then | |
867 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null | |
868 if test "x$?" = "x0"; then | |
869 beep_cv_newpcm_driver="yes" | |
870 else | |
871 beep_cv_newpcm_driver="no" | |
872 fi | |
873 else | |
874 beep_cv_newpcm_driver="no" | |
875 fi | |
876 ) | |
877 | |
878 if test "$beep_cv_newpcm_driver" = "yes"; then | |
879 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver]) | |
880 fi | |
881 | |
882 | |
883 AC_CHECK_HEADERS(linux/cdrom.h) | |
884 AC_CHECK_HEADERS(sys/cdio.h) | |
1675
cc5952675fca
[svn] Fixes for NetBSD by Jonathan Schleifer <js@h3c.de>
chainsaw
parents:
1671
diff
changeset
|
885 AC_CHECK_HEADERS(sys/cdrio.h) |
0 | 886 AC_CHECK_HEADERS(linux/joystick.h) |
887 AC_CHECK_HEADERS(unistd.h) | |
888 AC_CHECK_HEADERS(fcntl.h) | |
889 AC_CHECK_HEADERS(sys/ioctl.h) | |
890 AC_CHECK_HEADERS(fnmatch.h) | |
891 AC_CHECK_HEADERS(limits.h) | |
892 AC_CHECK_HEADERS(wchar.h) | |
893 AC_CHECK_HEADERS(fts.h) | |
894 | |
1675
cc5952675fca
[svn] Fixes for NetBSD by Jonathan Schleifer <js@h3c.de>
chainsaw
parents:
1671
diff
changeset
|
895 AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf]) |
0 | 896 |
897 | |
898 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" | |
899 then | |
1703
409444cb0605
[svn] - only build cdaudio plugin if we support DAE
nenolod
parents:
1701
diff
changeset
|
900 INPUT_PLUGINS="cdaudio $INPUT_PLUGINS" |
0 | 901 case "$host" in |
902 *-*-sunos* | *-*-solaris* | *-*-linux*) | |
903 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) | |
904 ;; | |
905 *-*-freebsd*) | |
906 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
907 ;; | |
908 *-*-netbsd* | *-*-openbsd*) | |
909 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
910 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) | |
911 ;; | |
912 *-*darwin*) | |
913 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
914 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) | |
915 ;; | |
916 esac | |
917 fi | |
918 | |
919 | |
920 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") | |
921 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") | |
922 | |
923 if test -n "$GCC" | |
924 then | |
995
e4089d6b0fcf
[svn] Reduce amount of emitted GCC 4.1 warnings to 6. For that boring rainy afternoon, remove the two -Wno statements in CFLAGS (configure.ac) and you will see the actual amount.
chainsaw
parents:
978
diff
changeset
|
925 CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wno-unused-parameter -Wpointer-arith -finline-functions -ffast-math" |
0 | 926 case "$CFLAGS" in |
927 -g*) ;; | |
928 *\ -g*) ;; | |
929 *) CFLAGS="$CFLAGS -fomit-frame-pointer" ;; | |
930 esac | |
931 case "$host" in | |
932 *-*-freebsd*) | |
933 ;; | |
934 *) | |
935 CFLAGS="$CFLAGS -funroll-all-loops" | |
936 ;; | |
937 esac | |
938 fi | |
939 | |
940 AC_MSG_CHECKING(if __ELF__ is defined) | |
941 AC_EGREP_CPP(yes, | |
942 [#ifdef __ELF__ | |
943 yes | |
944 #endif | |
945 ], | |
946 [is_elf=yes], | |
947 [is_elf=no] | |
948 ) | |
949 AC_MSG_RESULT([${is_elf}]) | |
950 | |
951 | |
952 have_solaris=no | |
953 have_sun=no | |
954 ARCH_DEFINES="" | |
955 case "$host" in | |
956 *-*-openbsd* | *-*-netbsd*) | |
957 have_sun=yes | |
958 if test "${is_elf}" = "no" | |
959 then | |
960 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
961 fi | |
758
f9e8807ea6e5
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
nenolod
parents:
756
diff
changeset
|
962 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun" |
0 | 963 ;; |
964 *-*-darwin*) | |
965 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
966 ;; | |
967 *-hpux-*) | |
968 ARCH_DEFINES="-DHPUX" | |
969 ;; | |
970 *-*-solaris* | *-*-sunos*) | |
971 have_solaris=yes | |
972 ;; | |
973 esac | |
974 | |
975 arch_type=other | |
976 x86_asm=no | |
977 case "$host" in | |
978 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) | |
979 arch_type=ix86 | |
980 case "$host" in | |
981 *-*-netbsd* | *-*openbsd*) | |
982 ;; | |
983 *) | |
984 ARCH_DEFINES="-DI386_ASSEM" | |
985 x86_asm=yes | |
986 ;; | |
987 esac | |
988 ;; | |
989 esac | |
990 | |
688 | 991 dnl *** Scrobbler *** |
992 | |
993 scrobbler="yes" | |
994 | |
995 dnl Checks for libmusicbrainz | |
692 | 996 PKG_CHECK_MODULES(MUSICBRAINZ, [libmusicbrainz >= 2.0.0], , [scrobbler="no"]) |
688 | 997 |
998 dnl libcurl check | |
999 | |
1000 my_cv_curl_vers=NONE | |
1001 dnl check is the plain-text version of the required version | |
1002 check="7.9.7" | |
1003 dnl check_hex must be UPPERCASE if any hex letters are present | |
1004 check_hex="070907" | |
1005 | |
1006 AC_MSG_CHECKING([for curl >= $check]) | |
1007 | |
960 | 1008 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], , [scrobbler="no"]) |
688 | 1009 |
1010 if test "x$scrobbler" = "xyes"; then | |
1011 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler" | |
1012 fi | |
1013 | |
1014 AC_SUBST(CURL_CFLAGS) | |
1015 AC_SUBST(CURL_LIBS) | |
1016 AC_SUBST(MUSICBRAINZ_LIBS) | |
1017 | |
1018 dnl *** End of Scrobbler checks *** | |
0 | 1019 |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1020 dnl *** libparanormal checks |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1021 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1022 AC_ARG_ENABLE(paranormal, |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1023 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)], |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1024 [have_paranormal=$enableval], |
1568 | 1025 [have_paranormal=yes]) |
1026 | |
1027 if test "x$ap_disable_paranormal" = "xyes"; then | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1028 have_paranormal=no |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1029 AC_MSG_RESULT([*** paranormal plugin disabled by request ***]) |
1568 | 1030 else |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1031 have_paranormal=yes |
1519 | 1032 AM_PATH_SDL(1.2.5, , [ |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1033 AC_MSG_WARN([*** SDL is not installed. Paranormal will not be built. ***]) |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1034 have_paranormal="no" |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1035 ]) |
1568 | 1036 fi |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1037 |
1568 | 1038 AC_ARG_ENABLE(xspf, |
1039 [ --disable-xspf disable XSPF support. (default=enabled)], | |
1040 [have_xspf=$enableval], [have_xspf=yes]) | |
1041 | |
1042 AM_PATH_XML2(2.0.0, , [ | |
1043 AC_MSG_WARN([*** libxml2 is not installed. Paranormal nor XSPF support will not be built. ***]) | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1044 have_paranormal="no" |
1568 | 1045 have_xspf="no" |
1046 ]) | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1047 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1048 if test "$have_paranormal" = "yes"; then |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1049 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal" |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1050 fi |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1051 |
1568 | 1052 if test "$have_xspf" = "yes"; then |
1053 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf" | |
1569
3af18d169044
[svn] - Plugins/Container/xspf/xspf.c: xspf cleanups
nenolod
parents:
1568
diff
changeset
|
1054 AC_DEFINE(HAVE_XSPF_PLAYLIST, 1, [Define if XSPF playlists are available.]) |
1568 | 1055 fi |
1056 | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1057 dnl *** End of all plugin checks *** |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1058 |
0 | 1059 AC_SUBST(ARCH_DEFINES) |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1060 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1061 dnl XXX delete ASAP -nenolod |
0 | 1062 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") |
1063 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) | |
1064 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) | |
1065 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) | |
1066 | |
1425 | 1067 plugindir="$libdir/audacious" |
0 | 1068 AC_SUBST(plugindir) |
1069 | |
1070 if test "x$enable_one_plugin_dir" = "xyes"; then | |
1071 pluginsubs="\\\"Plugins\\\"" | |
1072 INPUT_PLUGIN_DIR=Plugins | |
1073 OUTPUT_PLUGIN_DIR=Plugins | |
1074 EFFECT_PLUGIN_DIR=Plugins | |
1075 GENERAL_PLUGIN_DIR=Plugins | |
1076 VISUALIZATION_PLUGIN_DIR=Plugins | |
1561 | 1077 CONTAINER_PLUGIN_DIR=Plugins |
0 | 1078 else |
1561 | 1079 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\",\\\"Container\\\"" |
0 | 1080 INPUT_PLUGIN_DIR=Input |
1081 OUTPUT_PLUGIN_DIR=Output | |
1082 EFFECT_PLUGIN_DIR=Effect | |
1083 GENERAL_PLUGIN_DIR=General | |
1084 VISUALIZATION_PLUGIN_DIR=Visualization | |
1561 | 1085 CONTAINER_PLUGIN_DIR=Container |
0 | 1086 fi |
1087 | |
1088 AC_SUBST(INPUT_PLUGIN_DIR) | |
1089 AC_SUBST(OUTPUT_PLUGIN_DIR) | |
1090 AC_SUBST(EFFECT_PLUGIN_DIR) | |
1091 AC_SUBST(GENERAL_PLUGIN_DIR) | |
1092 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | |
1561 | 1093 AC_SUBST(CONTAINER_PLUGIN_DIR) |
0 | 1094 AC_SUBST(pluginsubs) |
1095 | |
1421 | 1096 dnl XXX Work around some autoconf bugs. |
1422 | 1097 if test "$prefix" = "NONE"; then |
1421 | 1098 prefix="${ac_default_prefix}" |
1099 fi | |
1100 | |
1425 | 1101 if test -z "$datadir"; then |
1102 datadir="${prefix}/share" | |
1418
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
1103 fi |
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
1104 |
1425 | 1105 localedir="$datadir/locale" |
0 | 1106 AC_SUBST(localedir) |
1107 | |
1108 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\"" | |
1109 CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
1110 | |
1111 if test "$enable_user_plugin_dir" = "no"; then | |
1112 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory]) | |
1113 fi | |
1114 | |
1115 AC_SUBST(BEEP_DEFINES) | |
1116 | |
1117 AC_SUBST(beepdir) | |
1118 AC_SUBST(plugindir) | |
1119 | |
634 | 1120 AC_SUBST(EFFECT_PLUGINS) |
1121 AC_SUBST(GENERAL_PLUGINS) | |
1122 AC_SUBST(INPUT_PLUGINS) | |
1123 AC_SUBST(OUTPUT_PLUGINS) | |
1124 AC_SUBST(VISUALIZATION_PLUGINS) | |
1562 | 1125 AC_SUBST(CONTAINER_PLUGINS) |
38 | 1126 |
0 | 1127 AC_CONFIG_FILES([ |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1128 audacious.1 |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1129 audacious.spec |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1130 audacious.pc |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1131 audacious/audacious.desktop |
0 | 1132 audacious/images/Makefile |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1133 libaudacious/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1134 libguess/Makefile |
1613
9becbe564217
[svn] - chardet patch for Russian language witten by Valentine Sinitsyn.
yaz
parents:
1603
diff
changeset
|
1135 librcd/Makefile |
62 | 1136 Plugins/Makefile |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1137 Plugins/Output/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1138 Plugins/Output/OSS/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1139 Plugins/Output/esd/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1140 Plugins/Output/alsa/Makefile |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
1141 Plugins/Output/jack/Makefile |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
1142 Plugins/Output/arts/Makefile |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
1143 Plugins/Output/arts/arts_helper/Makefile |
62 | 1144 Plugins/Output/disk_writer/Makefile |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1145 Plugins/Output/pulse_audio/Makefile |
759 | 1146 Plugins/Output/sun/Makefile |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1147 Plugins/Input/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1148 Plugins/Input/mpg123/Makefile |
62 | 1149 Plugins/Input/aac/Makefile |
1025
2b42e48a688e
[svn] - fix a potential crash in our read callback (for VFS)
nenolod
parents:
1023
diff
changeset
|
1150 Plugins/Input/aac/mp4ff/Makefile |
62 | 1151 Plugins/Input/aac/libfaad2/Makefile |
1152 Plugins/Input/aac/src/Makefile | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1153 Plugins/Input/modplug/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1154 Plugins/Input/modplug/archive/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1155 Plugins/Input/modplug/gui/Makefile |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
1156 Plugins/Input/musepack/Makefile |
62 | 1157 Plugins/Input/tonegen/Makefile |
1158 Plugins/Input/vorbis/Makefile | |
1159 Plugins/Input/cdaudio/Makefile | |
1160 Plugins/Input/wav/Makefile | |
1161 Plugins/Input/flac/Makefile | |
1162 Plugins/Input/flac/plugin_common/Makefile | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
1163 Plugins/Input/sid/Makefile |
111
9d6a24d21322
[svn] Update configure to generate the makefile for the SPC decoder...
nenolod
parents:
89
diff
changeset
|
1164 Plugins/Input/console/Makefile |
139 | 1165 Plugins/Input/wma/Makefile |
1166 Plugins/Input/wma/libffwma/Makefile | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1167 Plugins/Input/timidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1168 Plugins/Input/timidity/libtimidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1169 Plugins/Input/timidity/src/Makefile |
332
07576d3ed844
[svn] Sexypsf input plugin; patch by dai in bug #395.
chainsaw
parents:
325
diff
changeset
|
1170 Plugins/Input/sexypsf/Makefile |
359 | 1171 Plugins/Input/adplug/Makefile |
1172 Plugins/Input/adplug/core/Makefile | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1173 Plugins/Input/amidi-plug/Makefile |
1387 | 1174 Plugins/Input/amidi-plug/pcfg/Makefile |
1175 Plugins/Input/amidi-plug/backend-alsa/Makefile | |
1176 Plugins/Input/amidi-plug/backend-fluidsynth/Makefile | |
1177 Plugins/Input/amidi-plug/backend-dummy/Makefile | |
1457
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1178 Plugins/Visualization/Makefile |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1179 Plugins/Visualization/blur_scope/Makefile |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1180 Plugins/Visualization/rocklight/Makefile |
116 | 1181 Plugins/General/Makefile |
1182 Plugins/General/song_change/Makefile | |
157 | 1183 Plugins/General/lirc/Makefile |
688 | 1184 Plugins/General/scrobbler/Makefile |
277 | 1185 Plugins/Effect/Makefile |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
1186 Plugins/Effect/audiocompress/Makefile |
277 | 1187 Plugins/Effect/ladspa/Makefile |
920
999d1af32ab4
[svn] Extra_stereo effect plugin ported by deitarion. Some last pointer-related touchups by nemo & me.
chainsaw
parents:
885
diff
changeset
|
1188 Plugins/Effect/stereo_plugin/Makefile |
812
f9a1ddb72432
[svn] - add voice_removal plugin. Ported by: Thomas Cort <linuxgeek -at- gmail.com>, tcort @ #audacious.
nenolod
parents:
810
diff
changeset
|
1189 Plugins/Effect/voice_removal/Makefile |
1562 | 1190 Plugins/Container/Makefile |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1191 po/Makefile.in |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1192 intl/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1193 icons/Makefile |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1194 skin/Makefile |
562
5cdadcf74ec3
[svn] needed requirements for objective-based buildsystem (automake replacement)
nenolod
parents:
539
diff
changeset
|
1195 mk/rules.mk |
0 | 1196 ]) |
1197 | |
1198 AC_OUTPUT | |
1199 | |
1200 | |
1201 echo | |
1202 echo "Configuration:" | |
1203 echo | |
1204 echo " Install path: ${prefix}" | |
1205 | |
1206 if test "$BEEP_PATH" != "no"; then | |
38 | 1207 echo " Current Audacious executable: $BEEP_PATH" |
0 | 1208 fi |
1209 | |
1210 echo " Configuration path: \$HOME/$rc_path" | |
1211 echo | |
1212 echo " Use one plugin dir: $enable_one_plugin_dir" | |
1213 echo " Allow user plugin dir: $enable_user_plugin_dir" | |
1214 echo | |
1215 echo " XMMS Legacy" | |
1216 echo " -----------" | |
1217 echo " Equalization (works only with mpg123) $use_xmms_eq" | |
1218 echo | |
1219 echo " GNOME support" | |
1220 echo " -------------" | |
1221 echo " GConf support $enable_gconf" | |
1222 echo " VFS support $enable_gnomevfs" | |
1223 echo | |
1224 echo " Output Plugins" | |
1225 echo " --------------" | |
1226 echo " Open Sound System (oss): $have_oss" | |
1227 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" | |
1228 echo " Enlightenment Sound Daemon (esd): $have_esd" | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
1229 echo " Jack Audio Connection Kit (jack): $have_jack" |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
1230 echo " Analog Realtime Synthesizer (arts): $have_arts" |
758
f9e8807ea6e5
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
nenolod
parents:
756
diff
changeset
|
1231 echo " BSD/SUN audio output (sun): $have_sun" |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
1232 echo " PulseAudio sound server (pulse_audio): $have_pulse" |
1700 | 1233 echo " Mac OS X sound support (CoreAudio): $have_coreaudio" |
0 | 1234 echo |
1235 echo " Input Plugins" | |
1236 echo " -------------" | |
1237 echo " MPEG 1/2/3 (mpg123): $enable_mp3" | |
2 | 1238 echo " MPEG 4 Audio (AAC): $enable_aac" |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
1239 echo " Windows Media Audio (wma): $enable_wma" |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
1240 echo " .mpc playback (musepack): $enable_musepack" |
1366
f66048e606f0
[svn] Show whether modplug will actually be built (wrong var was being displayed).
chainsaw
parents:
1353
diff
changeset
|
1241 echo " Module decoder (modplug): $have_modplug" |
1387 | 1242 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug" |
1243 echo " -> ALSA backend: $enable_amidiplug_alsa" | |
1244 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth" | |
1245 echo " -> dummy backend: $enable_amidiplug_dummy" | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1246 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
0 | 1247 echo " CD Digital Audio (cdda): yes" |
1248 echo " Microsoft WAV (wav): yes" | |
184
740c072f8e23
[svn] List sndfile extensions in the plugin configuration table.
chainsaw
parents:
165
diff
changeset
|
1249 echo " + sndfile extensions: $enable_sndfile" |
11 | 1250 echo " Tone Generator: yes" |
0 | 1251 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1252 echo " Free Lossless Audio Codec (flac): $have_flac" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1253 echo " Commodore 64 audio (sid): $have_sidplay" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1254 echo " Game music (spc, nsf & gbs): yes" |
343
7b71e0dbb62d
[svn] Replace a tab with spaces to make Mikachu happy.
chainsaw
parents:
332
diff
changeset
|
1255 echo " PlayStation audio (sexypsf): yes" |
359 | 1256 echo " AdLib synthesizer (adplug): $have_adplug" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1257 echo |
116 | 1258 echo " General" |
1259 echo " -------" | |
1260 echo " Song Change: yes" | |
157 | 1261 echo " LIRC: $have_lirc" |
688 | 1262 echo " AudioScrobbler Client: $scrobbler" |
1493
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
1263 echo " libnotify Plugin: $have_libnotify" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1264 echo |
277 | 1265 echo " Effect" |
1266 echo " ------" | |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
1267 echo " AudioCompressor (AGC): yes" |
277 | 1268 echo " LADSPA effects host (ladspa): yes" |
812
f9a1ddb72432
[svn] - add voice_removal plugin. Ported by: Thomas Cort <linuxgeek -at- gmail.com>, tcort @ #audacious.
nenolod
parents:
810
diff
changeset
|
1269 echo " Voice Removal: yes" |
277 | 1270 echo |
0 | 1271 echo " Visualization" |
1272 echo " -------------" | |
1273 echo " Blur Scope: yes" | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1274 echo " Paranormal Visualization Library: $have_paranormal" |
0 | 1275 echo |
1562 | 1276 echo " Container" |
1277 echo " -------------" | |
1278 echo " Winamp PLS playlist format (pls): yes" | |
1279 echo " M3U playlist format (m3u): yes" | |
1568 | 1280 echo " XML Sharable Playlist Format (xspf): $have_xspf" |
1562 | 1281 echo |
0 | 1282 |
1283 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | |
32 | 1284 echo "Note: You need to have thread-safe xlibs to use Audacious." |
0 | 1285 echo "If you are using libc5 thread aware Xlibs just skip this." |
1286 echo "" | |
1287 echo "If you don't have those libs and you are on a libc5 system get them at:" | |
1288 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" | |
1289 fi | |
1290 | |
1291 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then | |
1292 echo "" | |
1293 echo "Note: Configure has discovered that you already have Audacious installed" | |
1294 echo "and it does not match with the given --prefix. You have Audacious installed " | |
1295 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin." | |
1296 echo | |
1297 echo "If you don't want two copies of Audacious installed, rerun configure with" | |
1298 echo "the --prefix option set to the location of the old Audacious, or uninstall" | |
1299 echo "the old Audacious." | |
1300 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1301 |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1302 if test "x$ap_disable_timidity" = "xyes" && test "x$enable_timidity" = "xno"; then |
1387 | 1303 echo "Note: an ALSA-supported hardware midi synth or a FluidSynth software synth" |
1304 echo "was detected in configuration; in order to use it, the amidi-plug input" | |
1305 echo "plugin will be compiled in place of timidity. If you wish to compile timidity" | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1306 echo "anyway, simply use --enable-timidity in configuration." |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1307 echo "" |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1308 fi |