Mercurial > audlegacy
annotate configure.ac @ 443:aedd5dbc1a1c trunk
[svn] Be less spammy in the audacious trace log about not being able to find
files.
author | nenolod |
---|---|
date | Mon, 16 Jan 2006 10:32:57 -0800 |
parents | 5928c035fa4e |
children | a2478a8475ee |
rev | line source |
---|---|
0 | 1 dnl Process this file with autoconf to produce a configure script. |
2 | |
393
7189b4e61548
[svn] Version bump to 0.2 -- we've been confusing the hell out of people.
nenolod
parents:
390
diff
changeset
|
3 AC_INIT(audacious, 0.2) |
0 | 4 AC_PREREQ(2.5) |
5 | |
6 AC_CANONICAL_HOST | |
7 AC_CANONICAL_TARGET | |
8 | |
9 AM_INIT_AUTOMAKE | |
10 | |
11 AC_CONFIG_HEADERS([config.h]) | |
12 | |
13 dnl libbeep | |
14 LIBBEEP_MAJOR_VERSION=2 | |
15 LIBBEEP_MINOR_VERSION=0 | |
16 LIBBEEP_MICRO_VERSION=0 | |
17 LIBBEEP_VERSION=$LIBBEEP_MAJOR_VERSION.$LIBBEEP_MINOR_VERSION.$LIBBEEP_MICRO_VERSION | |
18 AC_SUBST(LIBBEEP_MAJOR_VERSION) | |
19 AC_SUBST(LIBBEEP_MINOR_VERSION) | |
20 AC_SUBST(LIBBEEP_MICRO_VERSION) | |
21 | |
38 | 22 dnl XXX kludge for FreeBSD |
23 if test -d "/usr/X11R6/include"; then | |
24 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include" | |
25 fi | |
0 | 26 |
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 | |
35 AC_LANG([C]) | |
2 | 36 AC_LANG([C++]) |
0 | 37 AC_ISC_POSIX |
38 AC_C_BIGENDIAN | |
39 | |
40 | |
41 dnl Check for assembler | |
42 | |
43 AM_PROG_AS | |
44 | |
45 | |
46 dnl Checks for various programs | |
47 | |
48 AC_PROG_INSTALL | |
49 AC_PROG_LN_S | |
50 AC_PROG_MAKE_SET | |
51 | |
52 dnl Libtool | |
53 dnl FIXME: find a way to allow building static libbeep, | |
54 dnl without building static plugins | |
55 | |
56 dnl Next four lines is a hack to prevent libtool checking for C++/F77 | |
57 m4_undefine([AC_PROG_F77]) | |
58 m4_defun([AC_PROG_F77],[]) | |
59 | |
60 AC_DISABLE_STATIC | |
61 AC_ENABLE_SHARED | |
62 AC_PROG_LIBTOOL | |
63 | |
64 dnl Path settings | |
65 | |
66 AC_PATH_PROG(BEEP_PATH, audacious, no) | |
67 | |
68 AC_ARG_WITH(rc-path, | |
69 [ --rc-path=path Resource and configuration path for bmp relative to $HOME.], | |
70 [rc_path=$withval], | |
71 [rc_path=.audacious] | |
72 ) | |
73 AC_DEFINE_UNQUOTED(BMP_RCPATH, "$rc_path", | |
74 [Resource and configuration path for bmp relative to $HOME.] | |
75 ) | |
76 AC_SUBST(BMP_RCPATH) | |
77 | |
78 AC_ARG_ENABLE(one-plugin-dir, | |
79 [ --enable-one-plugin-dir Use a single plugin dir [default=no]], | |
80 [enable_one_plugin_dir=$enableval], | |
81 [enable_one_plugin_dir=no] | |
82 ) | |
83 | |
84 AC_ARG_ENABLE(user-plugin-dir, | |
85 [ --disable-user-plugin-dir disable per-user plugin dir], | |
86 [enable_user_plugin_dir=$enableval], | |
87 [enable_user_plugin_dir=yes] | |
88 ) | |
89 | |
90 AC_ARG_WITH(dev-dsp, | |
91 [ --with-dev-dsp=path Path to OSS DSP data pipe, default is /dev/dsp.], | |
92 [dev_dsp=$withval], | |
93 [dev_dsp=/dev/dsp] | |
94 ) | |
95 AC_DEFINE_UNQUOTED(DEV_DSP, "$dev_dsp", | |
96 [Path to OSS DSP, really just a data pipe, default is /dev/dsp.] | |
97 ) | |
98 | |
99 AC_ARG_WITH(dev-mixer, | |
100 [ --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer.], | |
101 [dev_mixer=$withval], | |
102 [dev_mixer=/dev/mixer] | |
103 ) | |
104 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer", | |
105 [Path to OSS mixer, default is /dev/mixer.] | |
106 ) | |
107 | |
108 AC_ARG_WITH(cdda-device, | |
109 [ --with-cdda-device=path Path to default cdaudio device.], | |
110 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval", | |
111 [Path to default cdaudio device.] | |
112 ) | |
113 ] | |
114 ) | |
115 | |
116 AC_ARG_WITH(cdda-dir, | |
117 [ --with-cdda-dir=path Path to default cdaudio directory.], | |
118 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval", | |
119 [Path to default cdaudio directory.] | |
120 ) | |
121 ] | |
122 ) | |
123 | |
124 | |
125 dnl If {type}_PLUGINS is defined, it should be a comma or space separated | |
126 dnl list of plugins that should be built, e.g., | |
127 dnl INPUT_PLUGINS="mpg123,cdaudio cdin". If variable is not defined, all | |
128 dnl buildable plugins are compiled. This stuff makes life easier for | |
129 dnl automated builds that want to disable certain plugins. | |
130 | |
131 for class in EFFECT GENERAL INPUT OUTPUT VISUALIZATION; do | |
132 value=`eval echo "\\$${class}_PLUGINS"` | |
133 if test "${value}" = ""; then | |
134 eval ${class}_PLUGINS="\$\(ALL_PLUGINS\)" | |
135 else | |
136 value=`echo ${value} | sed -e 's/,/ /g'` | |
137 eval ${class}_PLUGINS="\${value}" | |
138 fi | |
139 done | |
140 | |
141 AC_SUBST(EFFECT_PLUGINS) | |
142 AC_SUBST(GENERAL_PLUGINS) | |
143 AC_SUBST(INPUT_PLUGINS) | |
144 AC_SUBST(OUTPUT_PLUGINS) | |
145 AC_SUBST(VISUALIZATION_PLUGINS) | |
146 | |
147 | |
148 dnl Option to change equalizer to the old XMMS one which only works with the mpg123 | |
149 dnl plugin (or rather, only implemented within the plugin) | |
150 | |
151 AC_ARG_WITH(xmms-eq, | |
152 [ --with-xmms-eq Use old XMMS equalization code.], | |
153 [use_xmms_eq=$withval], | |
154 [use_xmms_eq=no] | |
155 ) | |
156 | |
157 if test "$use_xmms_eq" = "yes"; then | |
158 AC_DEFINE(XMMS_EQ, , [Define if building with old XMMS equalization code.]) | |
159 fi | |
160 | |
161 | |
162 dnl Check for X | |
163 dnl FIXME: remove this dependency | |
164 | |
165 AC_PATH_XTRA | |
166 if test "$no_x" = "yes" ; then | |
167 AC_MSG_ERROR([Cannot find X11 headers/libraries]) | |
168 fi | |
169 | |
170 dnl Check for GTK/GLib/GThread/Pango | |
171 | |
172 PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gthread-2.0 pango], | |
173 [ADD_PC_REQUIRES([glib-2.0 >= 2.4.0, gtk+-2.0 >= 2.4.0])], | |
174 [AC_MSG_ERROR([Cannot find glib2/gtk2/pango])] | |
175 ) | |
176 | |
177 dnl Check for libglade | |
178 | |
179 PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= 2.3.1], | |
180 [], | |
181 [AC_MSG_ERROR([Cannot find libglade])] | |
182 ) | |
183 | |
184 # Check if socklen_t is defined | |
185 | |
186 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t, | |
187 [AC_TRY_COMPILE( | |
188 [#include <sys/types.h> | |
189 #include <sys/socket.h>], | |
190 [socklen_t s;], | |
191 [beep_cv_type_socklen_t=yes], | |
192 [beep_cv_type_socklen_t=no] | |
193 ) | |
194 ] | |
195 ) | |
196 | |
197 if test "$beep_cv_type_socklen_t" = "no"; then | |
198 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing]) | |
199 fi | |
200 | |
201 | |
202 dnl GConf support | |
203 | |
204 AC_ARG_ENABLE( gconf, | |
205 [ --enable-gconf enable GConf support (default=disabled)], | |
206 [enable_gconf=$enableval], | |
207 [enable_gconf="no"] | |
208 ) | |
209 | |
210 if test "$enable_gconf" = "yes"; then | |
211 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0], | |
212 [ | |
213 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support]) | |
214 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0]) | |
215 ], | |
216 [AC_MSG_ERROR([Cannot find GConf])] | |
217 ) | |
218 fi | |
219 | |
220 AM_CONDITIONAL(HAVE_GCONF, test "$enable_gconf" = "yes") | |
221 | |
222 | |
223 dnl GnomeVFS support | |
224 | |
225 AC_ARG_ENABLE( gnome-vfs, | |
226 [ --enable-gnome-vfs enable GnomeVFS support (default=disabled)], | |
227 [enable_gnomevfs=$enableval], | |
228 [enable_gnomevfs="no"] | |
229 ) | |
230 | |
231 if test "$enable_gnomevfs" = "yes"; then | |
232 PKG_CHECK_MODULES(GNOMEVFS, [gnome-vfs-2.0 >= 2.6.0], | |
233 [ | |
234 AC_DEFINE(HAVE_GNOME_VFS, , [Define if building with GnomeVFS support]) | |
235 ADD_PC_REQUIRES([gnome-vfs-2.0 >= 2.6.0]) | |
236 ], | |
237 [AC_MSG_ERROR([Cannot find GnomeVFS])] | |
238 ) | |
239 fi | |
240 | |
241 AM_CONDITIONAL(HAVE_GNOME_VFS, test "$enable_gnomevfs" = "yes") | |
242 | |
243 | |
244 dnl Check for esound | |
245 | |
246 AC_ARG_ENABLE( esd, | |
247 [ --disable-esd disable esound output plugin [default=enabled]], | |
248 [enable_esd=$enableval], | |
249 [enable_esd="yes"] | |
250 ) | |
251 | |
252 if test "$enable_esd" = "yes"; then | |
253 PKG_CHECK_MODULES(ESD, [esound >= 0.2], | |
254 [have_esd=yes], | |
255 [have_esd=no] | |
256 ) | |
257 else | |
258 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) | |
259 have_esd=no | |
260 fi | |
261 | |
262 AM_CONDITIONAL(HAVE_ESD, test "$have_esd" = "yes") | |
263 | |
264 | |
265 dnl *** MP3 | |
266 | |
267 AC_ARG_ENABLE(mp3, | |
268 [ --disable-mp3 disable mp3 plugin. [default=enabled] ], | |
269 [enable_mp3=$enableval], | |
270 [enable_mp3=yes] | |
271 ) | |
272 | |
273 AM_CONDITIONAL(ENABLE_MPG123, test "$enable_mp3" = "yes") | |
274 | |
275 dnl *** id3lib | |
276 dnl only makes sence if mp3's enabled | |
277 if test "x$enable_mp3" = "xyes" ; then | |
278 | |
279 ID3LIBS="" | |
280 have_id3lib="no" | |
281 | |
282 dnl here we assume that if libz isn't installed but id3lib is | |
283 dnl it's compiled without compression support | |
284 AC_CHECK_HEADERS([id3.h],[ | |
285 AC_CHECK_LIB([z],[compress],[ZLIB='-lz'],[ZLIB='']) | |
286 AC_CHECK_LIB([id3],[ID3Tag_New], | |
287 [have_id3lib=yes | |
288 AC_DEFINE(HAVE_ID3LIB,,[Define when using id3lib]) | |
289 ID3LIBS="-lstdc++ $ZLIB -lid3"],,[-lstdc++ $ZLIB])]) | |
290 | |
291 AC_SUBST(ID3LIBS) | |
292 | |
293 fi dnl $enable_mp3 = yes | |
294 | |
157 | 295 dnl *** LIRC client libraries |
296 | |
297 AC_ARG_ENABLE(lirc, | |
298 [ --disable-lirc disable LIRC plugin (default=enabled)], | |
299 [enable_lirc=$enableval], | |
300 [enable_lirc="yes"] | |
301 ) | |
302 | |
303 if test "$enable_lirc" = "yes"; then | |
304 AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no]) | |
305 else | |
306 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) | |
307 have_lirc="no" | |
308 fi | |
163 | 309 AM_CONDITIONAL([HAVE_LIRC], test "$have_lirc" = "yes") |
157 | 310 |
386 | 311 dnl *** AdPlug requirement (libbinio) |
359 | 312 |
313 AC_ARG_ENABLE(adplug, | |
314 [ --disable-adplug disable AdPlug plugin (default=enabled)], | |
315 [enable_adplug=$enableval], | |
316 [enable_adplug="yes"] | |
317 ) | |
318 | |
386 | 319 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
|
320 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
|
321 PKG_CHECK_MODULES(BINIO,[libbinio >= 1.4],,[have_adplug=no]) |
359 | 322 else |
323 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) | |
324 have_adplug="no" | |
325 fi | |
390 | 326 AM_CONDITIONAL([HAVE_ADPLUG], test "$have_adplug" = "yes") |
359 | 327 |
0 | 328 dnl *** Ogg Vorbis |
329 | |
330 AC_ARG_ENABLE(vorbis, | |
331 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], | |
332 [enable_vorbis=$enableval], | |
333 [enable_vorbis="yes"] | |
334 ) | |
335 | |
336 if test "$enable_vorbis" = "yes"; then | |
337 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], | |
338 [have_oggvorbis=yes], | |
339 [AC_MSG_ERROR([Cannot find libogg/libvorbis]) | |
340 have_oggvorbis=no] | |
341 ) | |
342 else | |
343 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***]) | |
344 have_oggvorbis=no | |
345 fi | |
346 | |
347 AM_CONDITIONAL(HAVE_OGGVORBIS, [test "$have_oggvorbis" = "yes"]) | |
348 | |
2 | 349 dnl *** AAC |
350 | |
351 AC_ARG_ENABLE(aac, | |
352 [ --disable-aac disable aac plugin. [default=enabled] ], | |
353 [enable_aac=$enableval], | |
354 [enable_aac=yes] | |
355 ) | |
356 | |
357 AM_CONDITIONAL(ENABLE_AAC, test "$enable_aac" = "yes") | |
0 | 358 |
165 | 359 dnl *** sndfile |
360 | |
361 AC_ARG_ENABLE(sndfile, | |
362 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], | |
363 [enable_sndfile=$enableval], | |
364 [enable_sndfile=yes] | |
365 ) | |
366 | |
367 if test "$enable_sndfile" = "yes"; then | |
368 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], | |
369 [enable_sndfile=yes], | |
370 [enable_sndfile=no] | |
371 ) | |
372 else | |
373 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) | |
374 enable_sndfile=no | |
375 fi | |
376 | |
377 AM_CONDITIONAL([HAVE_LIBSNDFILE], test "$enable_sndfile" = "yes") | |
378 | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
379 dnl *** modplug |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
380 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
381 AC_ARG_ENABLE(modplug, |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
382 [ --disable-modplug disable ModPlug plugin (default=enabled)], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
383 [enable_modplug=$enableval], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
384 [enable_modplug="yes"] |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
385 ) |
32 | 386 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
387 if test "$enable_modplug" = "yes"; then |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
388 AC_CHECK_LIB([modplug],[XMLinearTable],[have_modplug=yes],[have_modplug=no]) |
32 | 389 else |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
390 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
|
391 have_modplug="no" |
32 | 392 fi |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
393 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
394 AM_CONDITIONAL([HAVE_MODPLUG], test "$have_modplug" = "yes") |
32 | 395 |
50 | 396 dnl *** flac |
397 AC_ARG_ENABLE( flc, | |
398 [ --disable-flac Disable flac input plugin [default=enabled]],, | |
399 enable_flac="yes") | |
400 | |
401 if test "x$enable_flac" = xyes; then | |
402 AM_PATH_LIBFLAC(have_flac=yes, have_flac=no) | |
403 else | |
404 AC_MSG_RESULT([*** flac plugin disabled per user request ***]) | |
405 have_flac=no | |
406 fi | |
407 AM_CONDITIONAL(HAVE_FLAC,test "x$have_flac" = xyes) | |
32 | 408 |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
409 dnl *** WMA |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
410 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
411 AC_ARG_ENABLE(wma, |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
412 [ --disable-wma disable wma plugin. [default=enabled] ], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
413 [enable_wma=$enableval], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
414 [enable_wma=yes] |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
415 ) |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
416 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
417 AM_CONDITIONAL(ENABLE_WMA, test "$enable_wma" = "yes") |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
418 |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
419 dnl *** TiMidity |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
420 |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
421 AC_ARG_ENABLE(timidity, |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
422 [ --disable-timidity disable timidity plugin. [default=enabled] ], |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
423 [enable_timidity=$enableval], |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
424 [enable_timidity=yes] |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
425 ) |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
426 |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
427 AM_CONDITIONAL(ENABLE_TIMIDITY, test "$enable_timidity" = "yes") |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
428 |
263 | 429 dnl *** Crossfader |
430 | |
431 AC_ARG_ENABLE(crossfade, | |
432 [ --disable-crossfade disable crossfading plugin. [default=enabled] ], | |
433 [enable_crossfade=$enableval], | |
434 [enable_crossfade=yes] | |
435 ) | |
436 | |
437 if test "$enable_crossfade" = "yes"; then | |
438 AC_CHECK_LIB([samplerate],[src_new],[have_libsamplerate=yes],[have_libsamplerate=no]) | |
439 fi | |
440 | |
441 AM_CONDITIONAL(ENABLE_CROSSFADE, test "$enable_crossfade" = "yes") | |
442 AM_CONDITIONAL(HAVE_LIBSAMPLERATE, test "$have_libsamplerate" = "yes") | |
443 | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
444 dnl *** jack output plugin |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
445 AC_ARG_ENABLE( jack, |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
446 [ --disable-jack disable jack output plugin [default=enabled]],, |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
447 enable_jack="yes") |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
448 |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
449 if test "x$enable_jack" = xyes; then |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
450 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
|
451 else |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
452 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
|
453 have_jack=no |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
454 fi |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
455 AM_CONDITIONAL(HAVE_JACK,test "x$have_jack" = xyes) |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
456 |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
457 dnl *** sid |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
458 AC_ARG_ENABLE( sid, |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
459 [ --disable-sid disable sid input plugin [default=enabled]],, |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
460 enable_sid="yes") |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
461 |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
462 if test "x$enable_sid" = xyes; then |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
463 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
464 else |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
465 AC_MSG_RESULT([*** sid plugin disabled per user request ***]) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
466 have_sidplay=no |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
467 fi |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
468 AM_CONDITIONAL(HAVE_SIDPLAY,test "x$have_sidplay" = xyes) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
469 |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
470 dnl *** Musepack |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
471 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
472 AC_ARG_ENABLE(musepack, |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
473 [ --disable-musepack disable musepack input plugin (default=enabled)], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
474 [enable_musepack=$enableval], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
475 [enable_musepack="yes"] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
476 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
477 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
478 if test "$enable_musepack" = "yes"; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
479 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
|
480 enable_musepack=no |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
481 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
482 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
483 AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, [no], [$PATH:$prefix/bin]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
484 if test "x$TAGLIB_CONFIG" = "xno" ; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
485 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
486 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
487 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
488 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
489 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
490 AC_SUBST(TAGLIB_CFLAGS) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
491 AC_SUBST(TAGLIB_LIBS) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
492 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
493 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
494 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
495 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
496 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
497 AM_CONDITIONAL(ENABLE_MUSEPACK, [test "$enable_musepack" = "yes"]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
498 |
0 | 499 dnl *** OSS output |
500 | |
501 AC_ARG_ENABLE(oss, | |
502 [ --disable-oss disable the OSS output plugin], | |
503 [have_oss=$enableval], | |
504 [have_oss=yes] | |
505 ) | |
506 | |
507 if test "$have_oss" = "yes"; then | |
508 AC_MSG_CHECKING(for OSS include dir) | |
509 OSS_CFLAGS="" | |
510 if test -f "/etc/oss.conf" ; then | |
511 for i in `cat /etc/oss.conf`; do | |
512 t=`echo $i | sed -e 's/OSSLIBDIR=//'` | |
513 if test "$i" != "$t" ; then | |
514 if test -f "$t/include/sys/soundcard.h" ; then | |
515 OSS_CFLAGS="-I$t/include" | |
516 fi | |
517 fi | |
518 done | |
519 fi | |
520 if test -n "$OSS_CFLAGS" ; then | |
521 AC_MSG_RESULT([$OSS_CFLAGS]) | |
522 else | |
523 AC_MSG_RESULT([not found]) | |
524 fi | |
525 CFLAGS_save=$CFLAGS | |
526 CFLAGS="$CFLAGS $OSS_CFLAGS" | |
527 AC_CHECK_HEADERS(sys/soundcard.h) | |
528 AC_CHECK_HEADERS(machine/soundcard.h) | |
529 CFLAGS=$CFLAGS_save | |
530 | |
531 if test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then | |
532 have_oss=yes | |
533 fi | |
534 fi | |
535 | |
536 if test "$have_oss" = "yes"; then | |
537 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built]) | |
538 else | |
539 have_oss=no | |
540 fi | |
541 | |
542 AM_CONDITIONAL(HAVE_OSS, test "$have_oss" = "yes") | |
543 | |
544 | |
545 dnl *** ALSA output plugin | |
546 | |
547 AC_ARG_ENABLE(alsa, | |
548 [ --disable-alsa disable ALSA input plugin (default=enabled)], | |
549 [enable_alsa=$enableval], | |
550 [enable_alsa=yes] | |
551 ) | |
552 | |
553 if test "$enable_alsa" = "yes"; then | |
554 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
555 [have_alsa=yes], | |
556 [have_alsa=no] | |
557 ) | |
558 else | |
559 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***]) | |
560 have_alsa=no | |
561 fi | |
562 | |
563 AM_CONDITIONAL(HAVE_ALSA, test "$have_alsa" = "yes") | |
564 | |
565 | |
566 dnl FreeBSD newpcm driver detection | |
567 | |
568 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver, | |
569 if test -r "/dev/sndstat"; then | |
570 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null | |
571 if test "x$?" = "x0"; then | |
572 beep_cv_newpcm_driver="yes" | |
573 else | |
574 beep_cv_newpcm_driver="no" | |
575 fi | |
576 else | |
577 beep_cv_newpcm_driver="no" | |
578 fi | |
579 ) | |
580 | |
581 if test "$beep_cv_newpcm_driver" = "yes"; then | |
582 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver]) | |
583 fi | |
584 | |
585 | |
586 AC_CHECK_HEADERS(linux/cdrom.h) | |
587 AC_CHECK_HEADERS(sys/cdio.h) | |
588 AC_CHECK_HEADERS(linux/joystick.h) | |
589 AC_CHECK_HEADERS(unistd.h) | |
590 AC_CHECK_HEADERS(fcntl.h) | |
591 AC_CHECK_HEADERS(sys/ioctl.h) | |
592 AC_CHECK_HEADERS(fnmatch.h) | |
593 AC_CHECK_HEADERS(limits.h) | |
594 AC_CHECK_HEADERS(wchar.h) | |
595 AC_CHECK_HEADERS(fts.h) | |
596 | |
242 | 597 AC_CHECK_FUNCS([mkdtemp getmntinfo strtoul lrintf]) |
0 | 598 |
599 | |
600 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" | |
601 then | |
602 case "$host" in | |
603 *-*-sunos* | *-*-solaris* | *-*-linux*) | |
604 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) | |
605 ;; | |
606 *-*-freebsd*) | |
607 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
608 ;; | |
609 *-*-netbsd* | *-*-openbsd*) | |
610 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
611 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) | |
612 ;; | |
613 *-*darwin*) | |
614 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
615 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) | |
616 ;; | |
617 esac | |
618 fi | |
619 | |
620 | |
621 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") | |
622 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") | |
623 | |
624 if test -n "$GCC" | |
625 then | |
626 CFLAGS="$CFLAGS -Wall -Wpointer-arith -finline-functions -ffast-math" | |
627 case "$CFLAGS" in | |
628 -g*) ;; | |
629 *\ -g*) ;; | |
630 *) CFLAGS="$CFLAGS -fomit-frame-pointer" ;; | |
631 esac | |
632 case "$host" in | |
633 *-*-freebsd*) | |
634 ;; | |
635 *) | |
636 CFLAGS="$CFLAGS -funroll-all-loops" | |
637 ;; | |
638 esac | |
639 fi | |
640 | |
641 AC_MSG_CHECKING(if __ELF__ is defined) | |
642 AC_EGREP_CPP(yes, | |
643 [#ifdef __ELF__ | |
644 yes | |
645 #endif | |
646 ], | |
647 [is_elf=yes], | |
648 [is_elf=no] | |
649 ) | |
650 AC_MSG_RESULT([${is_elf}]) | |
651 | |
652 | |
653 have_solaris=no | |
654 have_sun=no | |
655 ARCH_DEFINES="" | |
656 case "$host" in | |
657 *-*-openbsd* | *-*-netbsd*) | |
658 have_sun=yes | |
659 if test "${is_elf}" = "no" | |
660 then | |
661 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
662 fi | |
663 ;; | |
664 *-*-darwin*) | |
665 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
666 ;; | |
667 *-hpux-*) | |
668 ARCH_DEFINES="-DHPUX" | |
669 ;; | |
670 *-*-solaris* | *-*-sunos*) | |
671 have_solaris=yes | |
672 ;; | |
673 esac | |
674 | |
675 arch_type=other | |
676 x86_asm=no | |
677 case "$host" in | |
678 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) | |
679 arch_type=ix86 | |
680 case "$host" in | |
681 *-*-netbsd* | *-*openbsd*) | |
682 ;; | |
683 *) | |
684 ARCH_DEFINES="-DI386_ASSEM" | |
685 x86_asm=yes | |
686 ;; | |
687 esac | |
688 ;; | |
689 esac | |
690 | |
691 | |
692 AC_SUBST(ARCH_DEFINES) | |
693 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") | |
694 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) | |
695 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) | |
696 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) | |
697 | |
698 plugindir=$libdir/audacious | |
699 AC_SUBST(plugindir) | |
700 | |
701 if test "x$enable_one_plugin_dir" = "xyes"; then | |
702 pluginsubs="\\\"Plugins\\\"" | |
703 INPUT_PLUGIN_DIR=Plugins | |
704 OUTPUT_PLUGIN_DIR=Plugins | |
705 EFFECT_PLUGIN_DIR=Plugins | |
706 GENERAL_PLUGIN_DIR=Plugins | |
707 VISUALIZATION_PLUGIN_DIR=Plugins | |
708 else | |
709 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\"" | |
710 INPUT_PLUGIN_DIR=Input | |
711 OUTPUT_PLUGIN_DIR=Output | |
712 EFFECT_PLUGIN_DIR=Effect | |
713 GENERAL_PLUGIN_DIR=General | |
714 VISUALIZATION_PLUGIN_DIR=Visualization | |
715 fi | |
716 | |
717 AC_SUBST(INPUT_PLUGIN_DIR) | |
718 AC_SUBST(OUTPUT_PLUGIN_DIR) | |
719 AC_SUBST(EFFECT_PLUGIN_DIR) | |
720 AC_SUBST(GENERAL_PLUGIN_DIR) | |
721 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | |
722 AC_SUBST(pluginsubs) | |
723 | |
724 localedir=$datadir/locale | |
725 AC_SUBST(localedir) | |
726 | |
727 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\"" | |
728 CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
729 | |
730 if test "$enable_user_plugin_dir" = "no"; then | |
731 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory]) | |
732 fi | |
733 | |
734 AC_SUBST(BEEP_DEFINES) | |
735 | |
736 PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex "get_.plugin_info"' | |
737 AC_SUBST(PLUGIN_LDFLAGS) | |
738 | |
739 AC_SUBST(beepdir) | |
740 AC_SUBST(plugindir) | |
741 | |
38 | 742 have_libvisual="yes" |
743 | |
744 AC_CHECK_HEADERS([GL/gl.h GL/glx.h GL/glu.h],opengl="yes",opengl="no") | |
745 if test x"$opengl" = xno; then | |
746 AC_WARN([OpenGL and Glu headers not found, libvisual support cannot be built]) | |
747 have_libvisual="no" | |
748 fi | |
749 | |
750 AC_PATH_PROG(SDL_CONFIG, [sdl-config], [no]) | |
751 AM_PATH_SDL(1.2.5, , [AC_WARN([*** SDL >= 1.2.5 not installed - please install first ***]) | |
752 have_libvisual="no"]) | |
753 | |
754 PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.2.0, [libvis="yes"], [libvis="no"]) | |
755 if test x"$libvis" = xno; then | |
756 have_libvisual="no" | |
757 fi | |
758 AC_SUBST(LIBVISUAL_LIBS) | |
759 AC_SUBST(LIBVISUAL_CFLAGS) | |
760 | |
761 AM_CONDITIONAL(HAVE_LIBVISUAL, test "x$have_libvisual" = xyes) | |
762 | |
0 | 763 AC_CONFIG_FILES([ |
764 Makefile | |
765 audacious.1 | |
766 audacious.spec | |
767 audacious.pc | |
768 audacious/audacious.desktop | |
769 audacious/Makefile | |
770 audacious/glade/Makefile | |
771 audacious/images/Makefile | |
772 libaudacious/Makefile | |
283 | 773 libaudcore/Makefile |
62 | 774 Plugins/Makefile |
775 Plugins/Output/Makefile | |
776 Plugins/Output/OSS/Makefile | |
777 Plugins/Output/esd/Makefile | |
778 Plugins/Output/alsa/Makefile | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
779 Plugins/Output/jack/Makefile |
263 | 780 Plugins/Output/crossfade/Makefile |
62 | 781 Plugins/Output/disk_writer/Makefile |
782 Plugins/Input/Makefile | |
783 Plugins/Input/mpg123/Makefile | |
784 Plugins/Input/aac/Makefile | |
785 Plugins/Input/aac/libmp4v2/Makefile | |
786 Plugins/Input/aac/libfaad2/Makefile | |
787 Plugins/Input/aac/src/Makefile | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
788 Plugins/Input/modplug/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
789 Plugins/Input/modplug/archive/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
790 Plugins/Input/modplug/gui/Makefile |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
791 Plugins/Input/musepack/Makefile |
62 | 792 Plugins/Input/tonegen/Makefile |
793 Plugins/Input/vorbis/Makefile | |
794 Plugins/Input/cdaudio/Makefile | |
795 Plugins/Input/wav/Makefile | |
796 Plugins/Input/flac/Makefile | |
797 Plugins/Input/flac/plugin_common/Makefile | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
798 Plugins/Input/sid/Makefile |
111
9d6a24d21322
[svn] Update configure to generate the makefile for the SPC decoder...
nenolod
parents:
89
diff
changeset
|
799 Plugins/Input/console/Makefile |
139 | 800 Plugins/Input/wma/Makefile |
801 Plugins/Input/wma/libffwma/Makefile | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
802 Plugins/Input/timidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
803 Plugins/Input/timidity/libtimidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
804 Plugins/Input/timidity/src/Makefile |
332
07576d3ed844
[svn] Sexypsf input plugin; patch by dai in bug #395.
chainsaw
parents:
325
diff
changeset
|
805 Plugins/Input/sexypsf/Makefile |
359 | 806 Plugins/Input/adplug/Makefile |
807 Plugins/Input/adplug/core/Makefile | |
62 | 808 Plugins/Visualization/Makefile |
809 Plugins/Visualization/blur_scope/Makefile | |
810 Plugins/Visualization/libvisual-proxy/Makefile | |
116 | 811 Plugins/General/Makefile |
812 Plugins/General/song_change/Makefile | |
157 | 813 Plugins/General/lirc/Makefile |
277 | 814 Plugins/Effect/Makefile |
815 Plugins/Effect/ladspa/Makefile | |
0 | 816 po/Makefile.in |
817 intl/Makefile | |
818 icons/Makefile | |
819 skin/Makefile | |
820 ]) | |
821 | |
822 AC_OUTPUT | |
823 | |
824 | |
825 echo | |
826 echo "Configuration:" | |
827 echo | |
828 echo " Install path: ${prefix}" | |
829 | |
830 if test "$BEEP_PATH" != "no"; then | |
38 | 831 echo " Current Audacious executable: $BEEP_PATH" |
0 | 832 fi |
833 | |
834 echo " Configuration path: \$HOME/$rc_path" | |
835 echo | |
836 echo " Use one plugin dir: $enable_one_plugin_dir" | |
837 echo " Allow user plugin dir: $enable_user_plugin_dir" | |
838 echo | |
839 echo " XMMS Legacy" | |
840 echo " -----------" | |
841 echo " Equalization (works only with mpg123) $use_xmms_eq" | |
842 echo | |
843 echo " GNOME support" | |
844 echo " -------------" | |
845 echo " GConf support $enable_gconf" | |
846 echo " VFS support $enable_gnomevfs" | |
847 echo | |
848 echo " Output Plugins" | |
849 echo " --------------" | |
850 echo " Open Sound System (oss): $have_oss" | |
851 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" | |
852 echo " Enlightenment Sound Daemon (esd): $have_esd" | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
853 echo " Jack Audio Connection Kit (jack): $have_jack" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
854 echo " Crossfading (crossfade): $enable_crossfade" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
855 echo " + libsamplerate support $have_libsamplerate" |
0 | 856 echo |
857 echo " Input Plugins" | |
858 echo " -------------" | |
859 echo " MPEG 1/2/3 (mpg123): $enable_mp3" | |
860 echo " + id3v2 editing: $have_id3lib" | |
2 | 861 echo " MPEG 4 Audio (AAC): $enable_aac" |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
862 echo " Windows Media Audio (wma): $enable_wma" |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
863 echo " .mpc playback (musepack): $enable_musepack" |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
864 echo " Module decoder (modplug): $enable_modplug" |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
865 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
0 | 866 echo " CD Digital Audio (cdda): yes" |
867 echo " Microsoft WAV (wav): yes" | |
184
740c072f8e23
[svn] List sndfile extensions in the plugin configuration table.
chainsaw
parents:
165
diff
changeset
|
868 echo " + sndfile extensions: $enable_sndfile" |
11 | 869 echo " Tone Generator: yes" |
0 | 870 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
871 echo " Free Lossless Audio Codec (flac): $have_flac" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
872 echo " Commodore 64 audio (sid): $have_sidplay" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
873 echo " Game music (spc, nsf & gbs): yes" |
343
7b71e0dbb62d
[svn] Replace a tab with spaces to make Mikachu happy.
chainsaw
parents:
332
diff
changeset
|
874 echo " PlayStation audio (sexypsf): yes" |
359 | 875 echo " AdLib synthesizer (adplug): $have_adplug" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
876 echo |
116 | 877 echo " General" |
878 echo " -------" | |
879 echo " Song Change: yes" | |
157 | 880 echo " LIRC: $have_lirc" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
881 echo |
277 | 882 echo " Effect" |
883 echo " ------" | |
884 echo " LADSPA effects host (ladspa): yes" | |
885 echo | |
0 | 886 echo " Visualization" |
887 echo " -------------" | |
888 echo " Blur Scope: yes" | |
38 | 889 echo " libvisual-proxy: $have_libvisual" |
0 | 890 echo |
891 | |
892 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | |
32 | 893 echo "Note: You need to have thread-safe xlibs to use Audacious." |
0 | 894 echo "If you are using libc5 thread aware Xlibs just skip this." |
895 echo "" | |
896 echo "If you don't have those libs and you are on a libc5 system get them at:" | |
897 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" | |
898 fi | |
899 | |
900 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then | |
901 echo "" | |
902 echo "Note: Configure has discovered that you already have Audacious installed" | |
903 echo "and it does not match with the given --prefix. You have Audacious installed " | |
904 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin." | |
905 echo | |
906 echo "If you don't want two copies of Audacious installed, rerun configure with" | |
907 echo "the --prefix option set to the location of the old Audacious, or uninstall" | |
908 echo "the old Audacious." | |
909 fi |