Mercurial > audlegacy
annotate configure.ac @ 1625:79891e2fd8a5 trunk
[svn] - use $(SHARED_SUFFIX)
- use $(PICFLAGS)
- use $(PICLDFLAGS)
author | nenolod |
---|---|
date | Wed, 06 Sep 2006 13:21:40 -0700 |
parents | d863bca9b6d7 |
children | 83769dcca55e |
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 |
1503 | 118 INPUT_PLUGINS="cdaudio 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-*) | |
197 AC_MSG_RESULT([Mac OS X: -fPIC -bundle, .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" |
d863bca9b6d7
[svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should.
nenolod
parents:
1622
diff
changeset
|
199 PICLDFLAGS="-fPIC -DPIC -bundle" |
1622 | 200 SHARED_SUFFIX=".dylib" |
201 ;; | |
202 *) | |
203 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
|
204 PICFLAGS="-fPIC -DPIC" |
1622 | 205 PICLDFLAGS="-fPIC -DPIC -shared" |
206 SHARED_SUFFIX=".so" | |
207 ;; | |
208 esac | |
209 AC_SUBST(PICFLAGS) | |
210 AC_SUBST(SHARED_SUFFIX) | |
211 | |
212 AC_MSG_CHECKING([if you are running Apple-GCC]) | |
213 case "$target" in | |
214 *-apple-*) | |
215 AC_MSG_RESULT([yes, sorry you poor bastard]) | |
216 LDFLAGS="$LDFLAGS -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" | |
217 ;; | |
218 *) | |
219 AC_MSG_RESULT([no]) | |
220 ;; | |
221 esac | |
222 | |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
223 dnl chardet support |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
224 dnl ======================== |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
225 AC_ARG_ENABLE(chardet, |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
226 [ --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
|
227 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
|
228 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
|
229 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
|
230 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
|
231 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
|
232 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
|
233 fi |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
234 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
|
235 AC_SUBST(USE_CHARDET) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
236 AC_SUBST(CHARDET_LIBS) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
237 AC_SUBST(SUBDIR_GUESS) |
0 | 238 |
239 dnl GConf support | |
240 | |
241 AC_ARG_ENABLE( gconf, | |
242 [ --enable-gconf enable GConf support (default=disabled)], | |
243 [enable_gconf=$enableval], | |
244 [enable_gconf="no"] | |
245 ) | |
246 | |
247 if test "$enable_gconf" = "yes"; then | |
248 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0], | |
249 [ | |
250 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support]) | |
251 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0]) | |
252 ], | |
253 [AC_MSG_ERROR([Cannot find GConf])] | |
254 ) | |
255 fi | |
256 | |
727 | 257 if test "$enable_gconf" = "yes"; then |
258 CONFIGDB_BACKEND="gconf" | |
259 else | |
260 CONFIGDB_BACKEND="rcfile" | |
261 fi | |
0 | 262 |
727 | 263 AC_SUBST(CONFIGDB_BACKEND) |
0 | 264 |
265 dnl GnomeVFS support | |
266 | |
267 AC_ARG_ENABLE( gnome-vfs, | |
268 [ --enable-gnome-vfs enable GnomeVFS support (default=disabled)], | |
269 [enable_gnomevfs=$enableval], | |
270 [enable_gnomevfs="no"] | |
271 ) | |
272 | |
273 if test "$enable_gnomevfs" = "yes"; then | |
274 PKG_CHECK_MODULES(GNOMEVFS, [gnome-vfs-2.0 >= 2.6.0], | |
275 [ | |
276 AC_DEFINE(HAVE_GNOME_VFS, , [Define if building with GnomeVFS support]) | |
277 ADD_PC_REQUIRES([gnome-vfs-2.0 >= 2.6.0]) | |
278 ], | |
279 [AC_MSG_ERROR([Cannot find GnomeVFS])] | |
280 ) | |
281 fi | |
282 | |
726 | 283 if test "$enable_gnomevfs" = "yes"; then |
284 VFS_BACKEND="gnome" | |
285 else | |
286 VFS_BACKEND="stdio" | |
287 fi | |
0 | 288 |
727 | 289 AC_SUBST(VFS_BACKEND) |
290 | |
0 | 291 dnl Check for esound |
292 | |
293 AC_ARG_ENABLE( esd, | |
294 [ --disable-esd disable esound output plugin [default=enabled]], | |
295 [enable_esd=$enableval], | |
296 [enable_esd="yes"] | |
297 ) | |
298 | |
299 if test "$enable_esd" = "yes"; then | |
300 PKG_CHECK_MODULES(ESD, [esound >= 0.2], | |
634 | 301 [have_esd=yes |
302 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"], | |
0 | 303 [have_esd=no] |
304 ) | |
305 else | |
306 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) | |
307 have_esd=no | |
308 fi | |
309 | |
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
|
310 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
|
311 |
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
|
312 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
|
313 [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
|
314 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
|
315 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
|
316 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
|
317 [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
|
318 ) |
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
|
319 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
|
320 |
0 | 321 dnl *** MP3 |
322 | |
323 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
|
324 [ --disable-mp3 disable mp3 plugin. (default=enabled) ], |
0 | 325 [enable_mp3=$enableval], |
326 [enable_mp3=yes] | |
327 ) | |
328 | |
634 | 329 if test "$enable_mp3" = "yes"; then |
330 INPUT_PLUGINS="$INPUT_PLUGINS mpg123" | |
331 fi | |
0 | 332 |
1457
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
333 dnl *** ThinkLight support |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
334 |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
335 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
|
336 |
157 | 337 dnl *** LIRC client libraries |
338 | |
339 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
|
340 [ --disable-lirc disable LIRC plugin (default=enabled)], |
157 | 341 [enable_lirc=$enableval], |
342 [enable_lirc="yes"] | |
343 ) | |
344 | |
345 if test "$enable_lirc" = "yes"; then | |
346 AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no]) | |
347 else | |
348 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) | |
349 have_lirc="no" | |
350 fi | |
634 | 351 |
352 if test "$have_lirc" = "yes"; then | |
353 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc" | |
354 fi | |
157 | 355 |
1493
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
356 dnl *** libnotify requirement |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
357 |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
358 AC_ARG_ENABLE(notify, |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
359 [ --disable-notify disable libnotify plugin (default=enabled)], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
360 [enable_libnotify=$enableval], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
361 [enable_libnotify="yes"] |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
362 ) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
363 |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
364 if test "$enable_libnotify" = "yes"; then |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
365 PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.2], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
366 [have_libnotify=yes |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
367 GENERAL_PLUGINS="$GENERAL_PLUGINS notify"], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
368 [have_libnotify=no] |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
369 ) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
370 else |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
371 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
|
372 have_libnotify="no" |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
373 fi |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
374 |
386 | 375 dnl *** AdPlug requirement (libbinio) |
359 | 376 |
377 AC_ARG_ENABLE(adplug, | |
378 [ --disable-adplug disable AdPlug plugin (default=enabled)], | |
379 [enable_adplug=$enableval], | |
380 [enable_adplug="yes"] | |
381 ) | |
382 | |
386 | 383 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
|
384 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
|
385 PKG_CHECK_MODULES(BINIO,[libbinio >= 1.4],,[have_adplug=no]) |
359 | 386 else |
387 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) | |
388 have_adplug="no" | |
389 fi | |
634 | 390 |
391 if test "$have_adplug" = "yes"; then | |
392 INPUT_PLUGINS="$INPUT_PLUGINS adplug" | |
393 fi | |
359 | 394 |
0 | 395 dnl *** Ogg Vorbis |
396 | |
397 AC_ARG_ENABLE(vorbis, | |
398 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], | |
399 [enable_vorbis=$enableval], | |
400 [enable_vorbis="yes"] | |
401 ) | |
402 | |
403 if test "$enable_vorbis" = "yes"; then | |
404 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], | |
405 [have_oggvorbis=yes], | |
406 [AC_MSG_ERROR([Cannot find libogg/libvorbis]) | |
407 have_oggvorbis=no] | |
408 ) | |
409 else | |
410 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***]) | |
411 have_oggvorbis=no | |
412 fi | |
413 | |
634 | 414 if test "$have_oggvorbis" = "yes"; then |
415 INPUT_PLUGINS="$INPUT_PLUGINS vorbis" | |
416 fi | |
0 | 417 |
2 | 418 dnl *** AAC |
419 | |
420 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
|
421 [ --disable-aac disable aac plugin (default=enabled) ], |
2 | 422 [enable_aac=$enableval], |
423 [enable_aac=yes] | |
424 ) | |
425 | |
706 | 426 if test "$enable_aac" = "yes"; then |
634 | 427 INPUT_PLUGINS="$INPUT_PLUGINS aac" |
428 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
429 |
165 | 430 dnl *** sndfile |
431 | |
432 AC_ARG_ENABLE(sndfile, | |
433 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], | |
434 [enable_sndfile=$enableval], | |
435 [enable_sndfile=yes] | |
436 ) | |
437 | |
438 if test "$enable_sndfile" = "yes"; then | |
439 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], | |
440 [enable_sndfile=yes], | |
441 [enable_sndfile=no] | |
442 ) | |
443 else | |
444 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) | |
445 enable_sndfile=no | |
446 fi | |
447 | |
634 | 448 if test "$enable_sndfile" = "yes"; then |
725 | 449 WAV_SNDFILE="-sndfile" |
634 | 450 fi |
451 | |
725 | 452 AC_SUBST(WAV_SNDFILE) |
165 | 453 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
454 dnl *** modplug |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
455 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
456 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
|
457 [ --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
|
458 [enable_modplug=$enableval], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
459 [enable_modplug="yes"] |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
460 ) |
32 | 461 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
462 if test "$enable_modplug" = "yes"; then |
1375
d2c411305bf8
[svn] Modplug conftest fix by Christian "Joker" Birchinger from Gentoo.
chainsaw
parents:
1366
diff
changeset
|
463 AC_CHECK_LIB([modplug],[XMLinearTable],[have_modplug=yes],[have_modplug=no],[-lstdc++]) |
32 | 464 else |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
465 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
|
466 have_modplug="no" |
32 | 467 fi |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
468 |
634 | 469 if test "$have_modplug" = "yes"; then |
470 INPUT_PLUGINS="$INPUT_PLUGINS modplug" | |
471 fi | |
32 | 472 |
50 | 473 dnl *** flac |
1537 | 474 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
|
475 [ --disable-flac disable flac input plugin (default=enabled)],, |
50 | 476 enable_flac="yes") |
477 | |
478 if test "x$enable_flac" = xyes; then | |
479 AM_PATH_LIBFLAC(have_flac=yes, have_flac=no) | |
480 else | |
481 AC_MSG_RESULT([*** flac plugin disabled per user request ***]) | |
482 have_flac=no | |
483 fi | |
634 | 484 |
485 if test "$have_flac" = "yes"; then | |
486 INPUT_PLUGINS="$INPUT_PLUGINS flac" | |
487 fi | |
32 | 488 |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
489 dnl *** WMA |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
490 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
491 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
|
492 [ --disable-wma disable wma plugin. (default=enabled)], |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
493 [enable_wma=$enableval], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
494 [enable_wma=yes] |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
495 ) |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
496 |
634 | 497 if test "$enable_wma" = "yes"; then |
498 INPUT_PLUGINS="$INPUT_PLUGINS wma" | |
499 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
500 |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
501 dnl *** jack output plugin |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
502 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
|
503 [ --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
|
504 enable_jack="yes") |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
505 |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
506 if test "x$enable_jack" = xyes; then |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
507 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
|
508 else |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
509 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
|
510 have_jack=no |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
511 fi |
634 | 512 |
513 if test "$have_jack" = yes; then | |
514 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack" | |
515 fi | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
516 |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
517 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
|
518 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
|
519 [ --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
|
520 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
|
521 |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
522 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
|
523 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
|
524 else |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
525 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
|
526 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
|
527 fi |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
528 |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
529 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
|
530 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
|
531 fi |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
532 |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
533 dnl *** sid |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
534 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
|
535 [ --disable-sid disable sid input plugin (default=enabled)],, |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
536 enable_sid="yes") |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
537 |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
538 if test "x$enable_sid" = xyes; then |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
539 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
540 else |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
541 AC_MSG_RESULT([*** sid plugin disabled per user request ***]) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
542 have_sidplay=no |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
543 fi |
634 | 544 |
545 if test "$have_sidplay" = yes; then | |
546 INPUT_PLUGINS="$INPUT_PLUGINS sid" | |
547 fi | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
548 |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
549 dnl *** Musepack |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
550 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
551 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
|
552 [ --disable-musepack disable musepack input plugin (default=enabled)], |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
553 [enable_musepack=$enableval], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
554 [enable_musepack="yes"] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
555 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
556 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
557 if test "$enable_musepack" = "yes"; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
558 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
|
559 enable_musepack=no |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
560 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
561 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
562 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
563 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
564 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
565 |
634 | 566 if test "$enable_musepack" = "yes"; then |
567 INPUT_PLUGINS="$INPUT_PLUGINS musepack" | |
568 fi | |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
569 |
0 | 570 dnl *** OSS output |
571 | |
572 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
|
573 [ --disable-oss disable the OSS output plugin (default=enabled)], |
0 | 574 [have_oss=$enableval], |
575 [have_oss=yes] | |
576 ) | |
577 | |
578 if test "$have_oss" = "yes"; then | |
579 AC_MSG_CHECKING(for OSS include dir) | |
580 OSS_CFLAGS="" | |
581 if test -f "/etc/oss.conf" ; then | |
582 for i in `cat /etc/oss.conf`; do | |
583 t=`echo $i | sed -e 's/OSSLIBDIR=//'` | |
584 if test "$i" != "$t" ; then | |
585 if test -f "$t/include/sys/soundcard.h" ; then | |
586 OSS_CFLAGS="-I$t/include" | |
587 fi | |
588 fi | |
589 done | |
590 fi | |
591 if test -n "$OSS_CFLAGS" ; then | |
592 AC_MSG_RESULT([$OSS_CFLAGS]) | |
593 else | |
594 AC_MSG_RESULT([not found]) | |
595 fi | |
596 CFLAGS_save=$CFLAGS | |
597 CFLAGS="$CFLAGS $OSS_CFLAGS" | |
598 AC_CHECK_HEADERS(sys/soundcard.h) | |
599 AC_CHECK_HEADERS(machine/soundcard.h) | |
600 CFLAGS=$CFLAGS_save | |
601 | |
602 if test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then | |
603 have_oss=yes | |
604 fi | |
605 fi | |
606 | |
607 if test "$have_oss" = "yes"; then | |
608 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built]) | |
609 else | |
610 have_oss=no | |
611 fi | |
612 | |
634 | 613 if test "$have_oss" = "yes"; then |
614 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS" | |
615 fi | |
0 | 616 |
617 dnl *** ALSA output plugin | |
618 | |
619 AC_ARG_ENABLE(alsa, | |
620 [ --disable-alsa disable ALSA input plugin (default=enabled)], | |
621 [enable_alsa=$enableval], | |
622 [enable_alsa=yes] | |
623 ) | |
624 | |
625 if test "$enable_alsa" = "yes"; then | |
626 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
|
627 [ |
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
|
628 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
|
629 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
|
630 ], |
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
|
631 [ |
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
|
632 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
|
633 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
|
634 ] |
0 | 635 ) |
636 else | |
637 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***]) | |
638 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
|
639 alsalib_available=check |
0 | 640 fi |
641 | |
635
6a9e1af8ee75
[svn] Check for have_alsa to enable ALSA, and not have_oss.
chainsaw
parents:
634
diff
changeset
|
642 if test "$have_alsa" = "yes"; then |
634 | 643 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa" |
644 fi | |
0 | 645 |
1387 | 646 |
647 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
|
648 |
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
|
649 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
|
650 [ --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
|
651 [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
|
652 [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
|
653 ) |
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
|
654 |
1387 | 655 AC_ARG_ENABLE(amidiplug-alsa, |
656 [ --disable-amidiplug-alsa disable amidi-plug ALSA backend (default=enabled) ], | |
657 [enable_amidiplug_alsa=$enableval], | |
658 [enable_amidiplug_alsa=auto] | |
659 ) | |
660 | |
661 AC_ARG_ENABLE(amidiplug-flsyn, | |
662 [ --disable-amidiplug-flsyn disable amidi-plug FluidSynth backend (default=enabled) ], | |
663 [enable_amidiplug_fluidsynth=$enableval], | |
664 [enable_amidiplug_fluidsynth=auto] | |
665 ) | |
666 | |
667 AC_ARG_ENABLE(amidiplug-dummy, | |
668 [ --disable-amidiplug-dummy disable amidi-plug dummy backend (default=enabled) ], | |
669 [enable_amidiplug_dummy=$enableval], | |
670 [enable_amidiplug_dummy=auto] | |
671 ) | |
672 | |
673 | |
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
|
674 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
|
675 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
|
676 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
|
677 else |
1387 | 678 if test "x$enable_amidiplug_alsa" != "xauto"; then |
679 enable_amidiplug=yes | |
680 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then | |
681 enable_amidiplug=yes | |
682 elif test "x$enable_amidiplug_dummy" != "xauto"; then | |
683 enable_amidiplug=yes | |
684 fi | |
685 fi | |
686 | |
687 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
|
688 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
|
689 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
|
690 [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
|
691 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
|
692 if test "x$alsalib_available" = "xyes"; then |
1387 | 693 AM_PATH_AMIDIPLUG_HWSYNTH(ap_have_hwsynth=yes, ap_have_hwsynth=no) |
694 if test "x$ap_have_hwsynth" = "xyes"; then | |
695 enable_amidiplug=yes | |
696 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
|
697 else |
1387 | 698 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
699 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
700 if test "x$fluidsynth_available" = "xyes"; then | |
701 enable_amidiplug=yes | |
702 ap_disable_timidity=yes | |
703 else | |
704 enable_amidiplug=no | |
705 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 ***]) | |
706 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
|
707 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
|
708 else |
1387 | 709 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
710 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
711 if test "x$fluidsynth_available" = "xyes"; then | |
712 enable_amidiplug=yes | |
713 ap_disable_timidity=yes | |
714 else | |
715 enable_amidiplug=no | |
716 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 ***]) | |
717 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
|
718 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
|
719 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
|
720 |
1387 | 721 if test "x$enable_amidiplug" = "xyes"; then |
722 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" | |
723 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0],,) | |
724 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,) | |
1394
65490480559e
[svn] - install the amidi-plug plugins to ${libdir}/amidi-plug.
nenolod
parents:
1387
diff
changeset
|
725 AMIDIPLUGDATADIR=${libdir}/amidi-plug/backends |
1387 | 726 AC_SUBST(AMIDIPLUGDATADIR) |
727 if test "x$enable_amidiplug_alsa" = "xauto" -o "x$enable_amidiplug_alsa" = "xyes"; then | |
728 if test "x$alsalib_available" = "xcheck"; then | |
729 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
730 [alsalib_available=yes],[alsalib_available=no]) | |
731 fi | |
732 if test "x$alsalib_available" = "xyes"; then | |
733 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa" | |
734 enable_amidiplug_alsa=yes | |
735 else | |
736 if test "x$enable_amidiplug_alsa" = "xyes"; then | |
737 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]) | |
738 enable_amidiplug_alsa=no | |
739 else | |
740 enable_amidiplug_alsa=no | |
741 fi | |
742 fi | |
743 fi | |
744 if test "x$enable_amidiplug_fluidsynth" = "xauto" -o "x$enable_amidiplug_fluidsynth" = "xyes"; then | |
745 if test "x$fluidsynth_available" != "xyes" -a "x$fluidsynth_available" != "xno"; then | |
746 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], | |
747 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
748 fi | |
749 if test "x$fluidsynth_available" = "xyes"; then | |
750 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth" | |
751 enable_amidiplug_fluidsynth=yes | |
752 else | |
753 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then | |
754 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]) | |
755 enable_amidiplug_fluidsynth=no | |
756 else | |
757 enable_amidiplug_fluidsynth=no | |
758 fi | |
759 fi | |
760 fi | |
761 if test "x$enable_amidiplug_dummy" = "xauto" -o "x$enable_amidiplug_dummy" = "xyes"; then | |
762 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy" | |
763 enable_amidiplug_dummy=yes | |
764 fi | |
765 AC_SUBST(AMIDIPLUG_BACKENDS) | |
634 | 766 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
|
767 |
1387 | 768 if test "x$enable_amidiplug" = "xyes"; then |
769 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" | |
770 fi | |
771 | |
772 | |
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
|
773 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
|
774 |
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
|
775 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
|
776 [ --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
|
777 [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
|
778 [ |
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 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
|
780 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
|
781 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
|
782 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
|
783 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
|
784 ] |
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
|
785 ) |
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
|
786 |
634 | 787 if test "$enable_timidity" = "yes"; then |
788 INPUT_PLUGINS="$INPUT_PLUGINS timidity" | |
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 |
0 | 791 dnl FreeBSD newpcm driver detection |
792 | |
793 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver, | |
794 if test -r "/dev/sndstat"; then | |
795 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null | |
796 if test "x$?" = "x0"; then | |
797 beep_cv_newpcm_driver="yes" | |
798 else | |
799 beep_cv_newpcm_driver="no" | |
800 fi | |
801 else | |
802 beep_cv_newpcm_driver="no" | |
803 fi | |
804 ) | |
805 | |
806 if test "$beep_cv_newpcm_driver" = "yes"; then | |
807 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver]) | |
808 fi | |
809 | |
810 | |
811 AC_CHECK_HEADERS(linux/cdrom.h) | |
812 AC_CHECK_HEADERS(sys/cdio.h) | |
813 AC_CHECK_HEADERS(linux/joystick.h) | |
814 AC_CHECK_HEADERS(unistd.h) | |
815 AC_CHECK_HEADERS(fcntl.h) | |
816 AC_CHECK_HEADERS(sys/ioctl.h) | |
817 AC_CHECK_HEADERS(fnmatch.h) | |
818 AC_CHECK_HEADERS(limits.h) | |
819 AC_CHECK_HEADERS(wchar.h) | |
820 AC_CHECK_HEADERS(fts.h) | |
821 | |
242 | 822 AC_CHECK_FUNCS([mkdtemp getmntinfo strtoul lrintf]) |
0 | 823 |
824 | |
825 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" | |
826 then | |
827 case "$host" in | |
828 *-*-sunos* | *-*-solaris* | *-*-linux*) | |
829 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) | |
830 ;; | |
831 *-*-freebsd*) | |
832 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
833 ;; | |
834 *-*-netbsd* | *-*-openbsd*) | |
835 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
836 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) | |
837 ;; | |
838 *-*darwin*) | |
839 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
840 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) | |
841 ;; | |
842 esac | |
843 fi | |
844 | |
845 | |
846 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") | |
847 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") | |
848 | |
849 if test -n "$GCC" | |
850 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
|
851 CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wno-unused-parameter -Wpointer-arith -finline-functions -ffast-math" |
0 | 852 case "$CFLAGS" in |
853 -g*) ;; | |
854 *\ -g*) ;; | |
855 *) CFLAGS="$CFLAGS -fomit-frame-pointer" ;; | |
856 esac | |
857 case "$host" in | |
858 *-*-freebsd*) | |
859 ;; | |
860 *) | |
861 CFLAGS="$CFLAGS -funroll-all-loops" | |
862 ;; | |
863 esac | |
864 fi | |
865 | |
866 AC_MSG_CHECKING(if __ELF__ is defined) | |
867 AC_EGREP_CPP(yes, | |
868 [#ifdef __ELF__ | |
869 yes | |
870 #endif | |
871 ], | |
872 [is_elf=yes], | |
873 [is_elf=no] | |
874 ) | |
875 AC_MSG_RESULT([${is_elf}]) | |
876 | |
877 | |
878 have_solaris=no | |
879 have_sun=no | |
880 ARCH_DEFINES="" | |
881 case "$host" in | |
882 *-*-openbsd* | *-*-netbsd*) | |
883 have_sun=yes | |
884 if test "${is_elf}" = "no" | |
885 then | |
886 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
887 fi | |
758
f9e8807ea6e5
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
nenolod
parents:
756
diff
changeset
|
888 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun" |
0 | 889 ;; |
890 *-*-darwin*) | |
891 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
892 ;; | |
893 *-hpux-*) | |
894 ARCH_DEFINES="-DHPUX" | |
895 ;; | |
896 *-*-solaris* | *-*-sunos*) | |
897 have_solaris=yes | |
898 ;; | |
899 esac | |
900 | |
901 arch_type=other | |
902 x86_asm=no | |
903 case "$host" in | |
904 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) | |
905 arch_type=ix86 | |
906 case "$host" in | |
907 *-*-netbsd* | *-*openbsd*) | |
908 ;; | |
909 *) | |
910 ARCH_DEFINES="-DI386_ASSEM" | |
911 x86_asm=yes | |
912 ;; | |
913 esac | |
914 ;; | |
915 esac | |
916 | |
688 | 917 dnl *** Scrobbler *** |
918 | |
919 scrobbler="yes" | |
920 | |
921 dnl Checks for libmusicbrainz | |
692 | 922 PKG_CHECK_MODULES(MUSICBRAINZ, [libmusicbrainz >= 2.0.0], , [scrobbler="no"]) |
688 | 923 |
924 dnl libcurl check | |
925 | |
926 my_cv_curl_vers=NONE | |
927 dnl check is the plain-text version of the required version | |
928 check="7.9.7" | |
929 dnl check_hex must be UPPERCASE if any hex letters are present | |
930 check_hex="070907" | |
931 | |
932 AC_MSG_CHECKING([for curl >= $check]) | |
933 | |
960 | 934 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], , [scrobbler="no"]) |
688 | 935 |
936 if test "x$scrobbler" = "xyes"; then | |
937 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler" | |
938 fi | |
939 | |
940 AC_SUBST(CURL_CFLAGS) | |
941 AC_SUBST(CURL_LIBS) | |
942 AC_SUBST(MUSICBRAINZ_LIBS) | |
943 | |
944 dnl *** End of Scrobbler checks *** | |
0 | 945 |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
946 dnl *** libparanormal checks |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
947 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
948 AC_ARG_ENABLE(paranormal, |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
949 [ --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
|
950 [have_paranormal=$enableval], |
1568 | 951 [have_paranormal=yes]) |
952 | |
953 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
|
954 have_paranormal=no |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
955 AC_MSG_RESULT([*** paranormal plugin disabled by request ***]) |
1568 | 956 else |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
957 have_paranormal=yes |
1519 | 958 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
|
959 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
|
960 have_paranormal="no" |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
961 ]) |
1568 | 962 fi |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
963 |
1568 | 964 AC_ARG_ENABLE(xspf, |
965 [ --disable-xspf disable XSPF support. (default=enabled)], | |
966 [have_xspf=$enableval], [have_xspf=yes]) | |
967 | |
968 AM_PATH_XML2(2.0.0, , [ | |
969 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
|
970 have_paranormal="no" |
1568 | 971 have_xspf="no" |
972 ]) | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
973 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
974 if test "$have_paranormal" = "yes"; then |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
975 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal" |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
976 fi |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
977 |
1568 | 978 if test "$have_xspf" = "yes"; then |
979 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf" | |
1569
3af18d169044
[svn] - Plugins/Container/xspf/xspf.c: xspf cleanups
nenolod
parents:
1568
diff
changeset
|
980 AC_DEFINE(HAVE_XSPF_PLAYLIST, 1, [Define if XSPF playlists are available.]) |
1568 | 981 fi |
982 | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
983 dnl *** End of all plugin checks *** |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
984 |
0 | 985 AC_SUBST(ARCH_DEFINES) |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
986 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
987 dnl XXX delete ASAP -nenolod |
0 | 988 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") |
989 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) | |
990 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) | |
991 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) | |
992 | |
1425 | 993 plugindir="$libdir/audacious" |
0 | 994 AC_SUBST(plugindir) |
995 | |
996 if test "x$enable_one_plugin_dir" = "xyes"; then | |
997 pluginsubs="\\\"Plugins\\\"" | |
998 INPUT_PLUGIN_DIR=Plugins | |
999 OUTPUT_PLUGIN_DIR=Plugins | |
1000 EFFECT_PLUGIN_DIR=Plugins | |
1001 GENERAL_PLUGIN_DIR=Plugins | |
1002 VISUALIZATION_PLUGIN_DIR=Plugins | |
1561 | 1003 CONTAINER_PLUGIN_DIR=Plugins |
0 | 1004 else |
1561 | 1005 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\",\\\"Container\\\"" |
0 | 1006 INPUT_PLUGIN_DIR=Input |
1007 OUTPUT_PLUGIN_DIR=Output | |
1008 EFFECT_PLUGIN_DIR=Effect | |
1009 GENERAL_PLUGIN_DIR=General | |
1010 VISUALIZATION_PLUGIN_DIR=Visualization | |
1561 | 1011 CONTAINER_PLUGIN_DIR=Container |
0 | 1012 fi |
1013 | |
1014 AC_SUBST(INPUT_PLUGIN_DIR) | |
1015 AC_SUBST(OUTPUT_PLUGIN_DIR) | |
1016 AC_SUBST(EFFECT_PLUGIN_DIR) | |
1017 AC_SUBST(GENERAL_PLUGIN_DIR) | |
1018 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | |
1561 | 1019 AC_SUBST(CONTAINER_PLUGIN_DIR) |
0 | 1020 AC_SUBST(pluginsubs) |
1021 | |
1421 | 1022 dnl XXX Work around some autoconf bugs. |
1422 | 1023 if test "$prefix" = "NONE"; then |
1421 | 1024 prefix="${ac_default_prefix}" |
1025 fi | |
1026 | |
1425 | 1027 if test -z "$datadir"; then |
1028 datadir="${prefix}/share" | |
1418
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
1029 fi |
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
1030 |
1425 | 1031 localedir="$datadir/locale" |
0 | 1032 AC_SUBST(localedir) |
1033 | |
1034 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\"" | |
1035 CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
1036 | |
1037 if test "$enable_user_plugin_dir" = "no"; then | |
1038 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory]) | |
1039 fi | |
1040 | |
1041 AC_SUBST(BEEP_DEFINES) | |
1042 | |
1043 AC_SUBST(beepdir) | |
1044 AC_SUBST(plugindir) | |
1045 | |
634 | 1046 AC_SUBST(EFFECT_PLUGINS) |
1047 AC_SUBST(GENERAL_PLUGINS) | |
1048 AC_SUBST(INPUT_PLUGINS) | |
1049 AC_SUBST(OUTPUT_PLUGINS) | |
1050 AC_SUBST(VISUALIZATION_PLUGINS) | |
1562 | 1051 AC_SUBST(CONTAINER_PLUGINS) |
38 | 1052 |
0 | 1053 AC_CONFIG_FILES([ |
1054 audacious.1 | |
1055 audacious.spec | |
1056 audacious.pc | |
1057 audacious/audacious.desktop | |
1058 audacious/images/Makefile | |
1059 libaudacious/Makefile | |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
1060 libguess/Makefile |
1613
9becbe564217
[svn] - chardet patch for Russian language witten by Valentine Sinitsyn.
yaz
parents:
1603
diff
changeset
|
1061 librcd/Makefile |
62 | 1062 Plugins/Makefile |
1063 Plugins/Output/Makefile | |
1064 Plugins/Output/OSS/Makefile | |
1065 Plugins/Output/esd/Makefile | |
1066 Plugins/Output/alsa/Makefile | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
1067 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
|
1068 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
|
1069 Plugins/Output/arts/arts_helper/Makefile |
62 | 1070 Plugins/Output/disk_writer/Makefile |
759 | 1071 Plugins/Output/sun/Makefile |
62 | 1072 Plugins/Input/Makefile |
1073 Plugins/Input/mpg123/Makefile | |
1074 Plugins/Input/aac/Makefile | |
1025
2b42e48a688e
[svn] - fix a potential crash in our read callback (for VFS)
nenolod
parents:
1023
diff
changeset
|
1075 Plugins/Input/aac/mp4ff/Makefile |
62 | 1076 Plugins/Input/aac/libfaad2/Makefile |
1077 Plugins/Input/aac/src/Makefile | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1078 Plugins/Input/modplug/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1079 Plugins/Input/modplug/archive/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1080 Plugins/Input/modplug/gui/Makefile |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
1081 Plugins/Input/musepack/Makefile |
62 | 1082 Plugins/Input/tonegen/Makefile |
1083 Plugins/Input/vorbis/Makefile | |
1084 Plugins/Input/cdaudio/Makefile | |
1085 Plugins/Input/wav/Makefile | |
1086 Plugins/Input/flac/Makefile | |
1087 Plugins/Input/flac/plugin_common/Makefile | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
1088 Plugins/Input/sid/Makefile |
111
9d6a24d21322
[svn] Update configure to generate the makefile for the SPC decoder...
nenolod
parents:
89
diff
changeset
|
1089 Plugins/Input/console/Makefile |
139 | 1090 Plugins/Input/wma/Makefile |
1091 Plugins/Input/wma/libffwma/Makefile | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1092 Plugins/Input/timidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1093 Plugins/Input/timidity/libtimidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1094 Plugins/Input/timidity/src/Makefile |
332
07576d3ed844
[svn] Sexypsf input plugin; patch by dai in bug #395.
chainsaw
parents:
325
diff
changeset
|
1095 Plugins/Input/sexypsf/Makefile |
359 | 1096 Plugins/Input/adplug/Makefile |
1097 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
|
1098 Plugins/Input/amidi-plug/Makefile |
1387 | 1099 Plugins/Input/amidi-plug/pcfg/Makefile |
1100 Plugins/Input/amidi-plug/backend-alsa/Makefile | |
1101 Plugins/Input/amidi-plug/backend-fluidsynth/Makefile | |
1102 Plugins/Input/amidi-plug/backend-dummy/Makefile | |
1457
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1103 Plugins/Visualization/Makefile |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1104 Plugins/Visualization/blur_scope/Makefile |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1105 Plugins/Visualization/rocklight/Makefile |
116 | 1106 Plugins/General/Makefile |
1107 Plugins/General/song_change/Makefile | |
157 | 1108 Plugins/General/lirc/Makefile |
688 | 1109 Plugins/General/scrobbler/Makefile |
277 | 1110 Plugins/Effect/Makefile |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
1111 Plugins/Effect/audiocompress/Makefile |
277 | 1112 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
|
1113 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
|
1114 Plugins/Effect/voice_removal/Makefile |
1562 | 1115 Plugins/Container/Makefile |
0 | 1116 po/Makefile.in |
1117 intl/Makefile | |
1118 icons/Makefile | |
1119 skin/Makefile | |
562
5cdadcf74ec3
[svn] needed requirements for objective-based buildsystem (automake replacement)
nenolod
parents:
539
diff
changeset
|
1120 mk/rules.mk |
0 | 1121 ]) |
1122 | |
1123 AC_OUTPUT | |
1124 | |
1125 | |
1126 echo | |
1127 echo "Configuration:" | |
1128 echo | |
1129 echo " Install path: ${prefix}" | |
1130 | |
1131 if test "$BEEP_PATH" != "no"; then | |
38 | 1132 echo " Current Audacious executable: $BEEP_PATH" |
0 | 1133 fi |
1134 | |
1135 echo " Configuration path: \$HOME/$rc_path" | |
1136 echo | |
1137 echo " Use one plugin dir: $enable_one_plugin_dir" | |
1138 echo " Allow user plugin dir: $enable_user_plugin_dir" | |
1139 echo | |
1140 echo " XMMS Legacy" | |
1141 echo " -----------" | |
1142 echo " Equalization (works only with mpg123) $use_xmms_eq" | |
1143 echo | |
1144 echo " GNOME support" | |
1145 echo " -------------" | |
1146 echo " GConf support $enable_gconf" | |
1147 echo " VFS support $enable_gnomevfs" | |
1148 echo | |
1149 echo " Output Plugins" | |
1150 echo " --------------" | |
1151 echo " Open Sound System (oss): $have_oss" | |
1152 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" | |
1153 echo " Enlightenment Sound Daemon (esd): $have_esd" | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
1154 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
|
1155 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
|
1156 echo " BSD/SUN audio output (sun): $have_sun" |
0 | 1157 echo |
1158 echo " Input Plugins" | |
1159 echo " -------------" | |
1160 echo " MPEG 1/2/3 (mpg123): $enable_mp3" | |
2 | 1161 echo " MPEG 4 Audio (AAC): $enable_aac" |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
1162 echo " Windows Media Audio (wma): $enable_wma" |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
1163 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
|
1164 echo " Module decoder (modplug): $have_modplug" |
1387 | 1165 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug" |
1166 echo " -> ALSA backend: $enable_amidiplug_alsa" | |
1167 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth" | |
1168 echo " -> dummy backend: $enable_amidiplug_dummy" | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1169 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
0 | 1170 echo " CD Digital Audio (cdda): yes" |
1171 echo " Microsoft WAV (wav): yes" | |
184
740c072f8e23
[svn] List sndfile extensions in the plugin configuration table.
chainsaw
parents:
165
diff
changeset
|
1172 echo " + sndfile extensions: $enable_sndfile" |
11 | 1173 echo " Tone Generator: yes" |
0 | 1174 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1175 echo " Free Lossless Audio Codec (flac): $have_flac" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1176 echo " Commodore 64 audio (sid): $have_sidplay" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1177 echo " Game music (spc, nsf & gbs): yes" |
343
7b71e0dbb62d
[svn] Replace a tab with spaces to make Mikachu happy.
chainsaw
parents:
332
diff
changeset
|
1178 echo " PlayStation audio (sexypsf): yes" |
359 | 1179 echo " AdLib synthesizer (adplug): $have_adplug" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1180 echo |
116 | 1181 echo " General" |
1182 echo " -------" | |
1183 echo " Song Change: yes" | |
157 | 1184 echo " LIRC: $have_lirc" |
688 | 1185 echo " AudioScrobbler Client: $scrobbler" |
1493
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
1186 echo " libnotify Plugin: $have_libnotify" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1187 echo |
277 | 1188 echo " Effect" |
1189 echo " ------" | |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
1190 echo " AudioCompressor (AGC): yes" |
277 | 1191 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
|
1192 echo " Voice Removal: yes" |
277 | 1193 echo |
0 | 1194 echo " Visualization" |
1195 echo " -------------" | |
1196 echo " Blur Scope: yes" | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1197 echo " Paranormal Visualization Library: $have_paranormal" |
0 | 1198 echo |
1562 | 1199 echo " Container" |
1200 echo " -------------" | |
1201 echo " Winamp PLS playlist format (pls): yes" | |
1202 echo " M3U playlist format (m3u): yes" | |
1568 | 1203 echo " XML Sharable Playlist Format (xspf): $have_xspf" |
1562 | 1204 echo |
0 | 1205 |
1206 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | |
32 | 1207 echo "Note: You need to have thread-safe xlibs to use Audacious." |
0 | 1208 echo "If you are using libc5 thread aware Xlibs just skip this." |
1209 echo "" | |
1210 echo "If you don't have those libs and you are on a libc5 system get them at:" | |
1211 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" | |
1212 fi | |
1213 | |
1214 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then | |
1215 echo "" | |
1216 echo "Note: Configure has discovered that you already have Audacious installed" | |
1217 echo "and it does not match with the given --prefix. You have Audacious installed " | |
1218 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin." | |
1219 echo | |
1220 echo "If you don't want two copies of Audacious installed, rerun configure with" | |
1221 echo "the --prefix option set to the location of the old Audacious, or uninstall" | |
1222 echo "the old Audacious." | |
1223 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1224 |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1225 if test "x$ap_disable_timidity" = "xyes" && test "x$enable_timidity" = "xno"; then |
1387 | 1226 echo "Note: an ALSA-supported hardware midi synth or a FluidSynth software synth" |
1227 echo "was detected in configuration; in order to use it, the amidi-plug input" | |
1228 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
|
1229 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
|
1230 echo "" |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1231 fi |