Mercurial > audlegacy
annotate configure.ac @ 365:98831d210c57 trunk
[svn] Implement GYM tag reader.
author | chainsaw |
---|---|
date | Sat, 31 Dec 2005 13:36:01 -0800 |
parents | 8df427a314a8 |
children | d7415a106fb6 |
rev | line source |
---|---|
0 | 1 dnl Process this file with autoconf to produce a configure script. |
2 | |
230 | 3 AC_INIT(audacious, 0.1.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 | |
185 dnl x86 SIMD(3DNow!/MMX) instructions support | |
186 dnl ======================== | |
187 | |
188 AC_ARG_ENABLE(simd, | |
189 [ --enable-simd build with x86 SIMD(3DNow!/MMX) instructions support (default=no)], | |
190 [USE_SIMD=$enableval], | |
191 [USE_SIMD=no] | |
192 ) | |
193 | |
194 if test "$USE_SIMD" = "yes"; then | |
195 AC_DEFINE(USE_SIMD, , [Define if building with ia32 SIMD support]) | |
196 fi | |
197 | |
198 AM_CONDITIONAL(USE_SIMD, test "$USE_SIMD" = "yes") | |
199 AC_SUBST(USE_SIMD_TRUE) | |
200 | |
201 | |
202 # Check if socklen_t is defined | |
203 | |
204 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t, | |
205 [AC_TRY_COMPILE( | |
206 [#include <sys/types.h> | |
207 #include <sys/socket.h>], | |
208 [socklen_t s;], | |
209 [beep_cv_type_socklen_t=yes], | |
210 [beep_cv_type_socklen_t=no] | |
211 ) | |
212 ] | |
213 ) | |
214 | |
215 if test "$beep_cv_type_socklen_t" = "no"; then | |
216 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing]) | |
217 fi | |
218 | |
219 | |
220 dnl GConf support | |
221 | |
222 AC_ARG_ENABLE( gconf, | |
223 [ --enable-gconf enable GConf support (default=disabled)], | |
224 [enable_gconf=$enableval], | |
225 [enable_gconf="no"] | |
226 ) | |
227 | |
228 if test "$enable_gconf" = "yes"; then | |
229 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0], | |
230 [ | |
231 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support]) | |
232 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0]) | |
233 ], | |
234 [AC_MSG_ERROR([Cannot find GConf])] | |
235 ) | |
236 fi | |
237 | |
238 AM_CONDITIONAL(HAVE_GCONF, test "$enable_gconf" = "yes") | |
239 | |
240 | |
241 dnl GnomeVFS support | |
242 | |
243 AC_ARG_ENABLE( gnome-vfs, | |
244 [ --enable-gnome-vfs enable GnomeVFS support (default=disabled)], | |
245 [enable_gnomevfs=$enableval], | |
246 [enable_gnomevfs="no"] | |
247 ) | |
248 | |
249 if test "$enable_gnomevfs" = "yes"; then | |
250 PKG_CHECK_MODULES(GNOMEVFS, [gnome-vfs-2.0 >= 2.6.0], | |
251 [ | |
252 AC_DEFINE(HAVE_GNOME_VFS, , [Define if building with GnomeVFS support]) | |
253 ADD_PC_REQUIRES([gnome-vfs-2.0 >= 2.6.0]) | |
254 ], | |
255 [AC_MSG_ERROR([Cannot find GnomeVFS])] | |
256 ) | |
257 fi | |
258 | |
259 AM_CONDITIONAL(HAVE_GNOME_VFS, test "$enable_gnomevfs" = "yes") | |
260 | |
261 | |
262 dnl Check for esound | |
263 | |
264 AC_ARG_ENABLE( esd, | |
265 [ --disable-esd disable esound output plugin [default=enabled]], | |
266 [enable_esd=$enableval], | |
267 [enable_esd="yes"] | |
268 ) | |
269 | |
270 if test "$enable_esd" = "yes"; then | |
271 PKG_CHECK_MODULES(ESD, [esound >= 0.2], | |
272 [have_esd=yes], | |
273 [have_esd=no] | |
274 ) | |
275 else | |
276 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) | |
277 have_esd=no | |
278 fi | |
279 | |
280 AM_CONDITIONAL(HAVE_ESD, test "$have_esd" = "yes") | |
281 | |
282 | |
283 dnl *** MP3 | |
284 | |
285 AC_ARG_ENABLE(mp3, | |
286 [ --disable-mp3 disable mp3 plugin. [default=enabled] ], | |
287 [enable_mp3=$enableval], | |
288 [enable_mp3=yes] | |
289 ) | |
290 | |
291 AM_CONDITIONAL(ENABLE_MPG123, test "$enable_mp3" = "yes") | |
292 | |
293 dnl *** id3lib | |
294 dnl only makes sence if mp3's enabled | |
295 if test "x$enable_mp3" = "xyes" ; then | |
296 | |
297 ID3LIBS="" | |
298 have_id3lib="no" | |
299 | |
300 dnl here we assume that if libz isn't installed but id3lib is | |
301 dnl it's compiled without compression support | |
302 AC_CHECK_HEADERS([id3.h],[ | |
303 AC_CHECK_LIB([z],[compress],[ZLIB='-lz'],[ZLIB='']) | |
304 AC_CHECK_LIB([id3],[ID3Tag_New], | |
305 [have_id3lib=yes | |
306 AC_DEFINE(HAVE_ID3LIB,,[Define when using id3lib]) | |
307 ID3LIBS="-lstdc++ $ZLIB -lid3"],,[-lstdc++ $ZLIB])]) | |
308 | |
309 AC_SUBST(ID3LIBS) | |
310 | |
311 fi dnl $enable_mp3 = yes | |
312 | |
157 | 313 dnl *** LIRC client libraries |
314 | |
315 AC_ARG_ENABLE(lirc, | |
316 [ --disable-lirc disable LIRC plugin (default=enabled)], | |
317 [enable_lirc=$enableval], | |
318 [enable_lirc="yes"] | |
319 ) | |
320 | |
321 if test "$enable_lirc" = "yes"; then | |
322 AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no]) | |
323 else | |
324 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) | |
325 have_lirc="no" | |
326 fi | |
163 | 327 AM_CONDITIONAL([HAVE_LIRC], test "$have_lirc" = "yes") |
157 | 328 |
359 | 329 dnl *** AdPlug requirement (libbinio) _ZN8binfbase3posEv |
330 | |
331 AC_ARG_ENABLE(adplug, | |
332 [ --disable-adplug disable AdPlug plugin (default=enabled)], | |
333 [enable_adplug=$enableval], | |
334 [enable_adplug="yes"] | |
335 ) | |
336 | |
337 if test "$enable_lirc" = "yes"; then | |
338 AC_CHECK_LIB([binio],[_ZN8binfbase3posEv],[have_adplug=yes],[have_adplug=no]) | |
339 else | |
340 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) | |
341 have_adplug="no" | |
342 fi | |
343 AM_CONDITIONAL([HAVE_ADPLUG], test "$have_lirc" = "yes") | |
344 | |
0 | 345 dnl *** Ogg Vorbis |
346 | |
347 AC_ARG_ENABLE(vorbis, | |
348 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], | |
349 [enable_vorbis=$enableval], | |
350 [enable_vorbis="yes"] | |
351 ) | |
352 | |
353 if test "$enable_vorbis" = "yes"; then | |
354 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], | |
355 [have_oggvorbis=yes], | |
356 [AC_MSG_ERROR([Cannot find libogg/libvorbis]) | |
357 have_oggvorbis=no] | |
358 ) | |
359 else | |
360 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***]) | |
361 have_oggvorbis=no | |
362 fi | |
363 | |
364 AM_CONDITIONAL(HAVE_OGGVORBIS, [test "$have_oggvorbis" = "yes"]) | |
365 | |
2 | 366 dnl *** AAC |
367 | |
368 AC_ARG_ENABLE(aac, | |
369 [ --disable-aac disable aac plugin. [default=enabled] ], | |
370 [enable_aac=$enableval], | |
371 [enable_aac=yes] | |
372 ) | |
373 | |
374 AM_CONDITIONAL(ENABLE_AAC, test "$enable_aac" = "yes") | |
0 | 375 |
165 | 376 dnl *** sndfile |
377 | |
378 AC_ARG_ENABLE(sndfile, | |
379 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], | |
380 [enable_sndfile=$enableval], | |
381 [enable_sndfile=yes] | |
382 ) | |
383 | |
384 if test "$enable_sndfile" = "yes"; then | |
385 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], | |
386 [enable_sndfile=yes], | |
387 [enable_sndfile=no] | |
388 ) | |
389 else | |
390 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) | |
391 enable_sndfile=no | |
392 fi | |
393 | |
394 AM_CONDITIONAL([HAVE_LIBSNDFILE], test "$enable_sndfile" = "yes") | |
395 | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
396 dnl *** modplug |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
397 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
398 AC_ARG_ENABLE(modplug, |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
399 [ --disable-modplug disable ModPlug plugin (default=enabled)], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
400 [enable_modplug=$enableval], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
401 [enable_modplug="yes"] |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
402 ) |
32 | 403 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
404 if test "$enable_modplug" = "yes"; then |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
405 AC_CHECK_LIB([modplug],[XMLinearTable],[have_modplug=yes],[have_modplug=no]) |
32 | 406 else |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
407 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
|
408 have_modplug="no" |
32 | 409 fi |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
410 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
411 AM_CONDITIONAL([HAVE_MODPLUG], test "$have_modplug" = "yes") |
32 | 412 |
50 | 413 dnl *** flac |
414 AC_ARG_ENABLE( flc, | |
415 [ --disable-flac Disable flac input plugin [default=enabled]],, | |
416 enable_flac="yes") | |
417 | |
418 if test "x$enable_flac" = xyes; then | |
419 AM_PATH_LIBFLAC(have_flac=yes, have_flac=no) | |
420 else | |
421 AC_MSG_RESULT([*** flac plugin disabled per user request ***]) | |
422 have_flac=no | |
423 fi | |
424 AM_CONDITIONAL(HAVE_FLAC,test "x$have_flac" = xyes) | |
32 | 425 |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
426 dnl *** WMA |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
427 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
428 AC_ARG_ENABLE(wma, |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
429 [ --disable-wma disable wma plugin. [default=enabled] ], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
430 [enable_wma=$enableval], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
431 [enable_wma=yes] |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
432 ) |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
433 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
434 AM_CONDITIONAL(ENABLE_WMA, test "$enable_wma" = "yes") |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
435 |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
436 dnl *** TiMidity |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
437 |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
438 AC_ARG_ENABLE(timidity, |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
439 [ --disable-timidity disable timidity plugin. [default=enabled] ], |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
440 [enable_timidity=$enableval], |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
441 [enable_timidity=yes] |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
442 ) |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
443 |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
444 AM_CONDITIONAL(ENABLE_TIMIDITY, test "$enable_timidity" = "yes") |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
445 |
263 | 446 dnl *** Crossfader |
447 | |
448 AC_ARG_ENABLE(crossfade, | |
449 [ --disable-crossfade disable crossfading plugin. [default=enabled] ], | |
450 [enable_crossfade=$enableval], | |
451 [enable_crossfade=yes] | |
452 ) | |
453 | |
454 if test "$enable_crossfade" = "yes"; then | |
455 AC_CHECK_LIB([samplerate],[src_new],[have_libsamplerate=yes],[have_libsamplerate=no]) | |
456 fi | |
457 | |
458 AM_CONDITIONAL(ENABLE_CROSSFADE, test "$enable_crossfade" = "yes") | |
459 AM_CONDITIONAL(HAVE_LIBSAMPLERATE, test "$have_libsamplerate" = "yes") | |
460 | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
461 dnl *** jack output plugin |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
462 AC_ARG_ENABLE( jack, |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
463 [ --disable-jack disable jack output plugin [default=enabled]],, |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
464 enable_jack="yes") |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
465 |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
466 if test "x$enable_jack" = xyes; then |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
467 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
|
468 else |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
469 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
|
470 have_jack=no |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
471 fi |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
472 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
|
473 |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
474 dnl *** sid |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
475 AC_ARG_ENABLE( sid, |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
476 [ --disable-sid disable sid input plugin [default=enabled]],, |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
477 enable_sid="yes") |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
478 |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
479 if test "x$enable_sid" = xyes; then |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
480 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
481 else |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
482 AC_MSG_RESULT([*** sid plugin disabled per user request ***]) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
483 have_sidplay=no |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
484 fi |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
485 AM_CONDITIONAL(HAVE_SIDPLAY,test "x$have_sidplay" = xyes) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
486 |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
487 dnl *** Musepack |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
488 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
489 AC_ARG_ENABLE(musepack, |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
490 [ --disable-musepack disable musepack input plugin (default=enabled)], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
491 [enable_musepack=$enableval], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
492 [enable_musepack="yes"] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
493 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
494 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
495 if test "$enable_musepack" = "yes"; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
496 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
|
497 enable_musepack=no |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
498 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
499 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
500 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
|
501 if test "x$TAGLIB_CONFIG" = "xno" ; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
502 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
503 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
504 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
505 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
506 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
507 AC_SUBST(TAGLIB_CFLAGS) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
508 AC_SUBST(TAGLIB_LIBS) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
509 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
510 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
511 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
512 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
513 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
514 AM_CONDITIONAL(ENABLE_MUSEPACK, [test "$enable_musepack" = "yes"]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
515 |
0 | 516 dnl *** OSS output |
517 | |
518 AC_ARG_ENABLE(oss, | |
519 [ --disable-oss disable the OSS output plugin], | |
520 [have_oss=$enableval], | |
521 [have_oss=yes] | |
522 ) | |
523 | |
524 if test "$have_oss" = "yes"; then | |
525 AC_MSG_CHECKING(for OSS include dir) | |
526 OSS_CFLAGS="" | |
527 if test -f "/etc/oss.conf" ; then | |
528 for i in `cat /etc/oss.conf`; do | |
529 t=`echo $i | sed -e 's/OSSLIBDIR=//'` | |
530 if test "$i" != "$t" ; then | |
531 if test -f "$t/include/sys/soundcard.h" ; then | |
532 OSS_CFLAGS="-I$t/include" | |
533 fi | |
534 fi | |
535 done | |
536 fi | |
537 if test -n "$OSS_CFLAGS" ; then | |
538 AC_MSG_RESULT([$OSS_CFLAGS]) | |
539 else | |
540 AC_MSG_RESULT([not found]) | |
541 fi | |
542 CFLAGS_save=$CFLAGS | |
543 CFLAGS="$CFLAGS $OSS_CFLAGS" | |
544 AC_CHECK_HEADERS(sys/soundcard.h) | |
545 AC_CHECK_HEADERS(machine/soundcard.h) | |
546 CFLAGS=$CFLAGS_save | |
547 | |
548 if test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then | |
549 have_oss=yes | |
550 fi | |
551 fi | |
552 | |
553 if test "$have_oss" = "yes"; then | |
554 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built]) | |
555 else | |
556 have_oss=no | |
557 fi | |
558 | |
559 AM_CONDITIONAL(HAVE_OSS, test "$have_oss" = "yes") | |
560 | |
561 | |
562 dnl *** ALSA output plugin | |
563 | |
564 AC_ARG_ENABLE(alsa, | |
565 [ --disable-alsa disable ALSA input plugin (default=enabled)], | |
566 [enable_alsa=$enableval], | |
567 [enable_alsa=yes] | |
568 ) | |
569 | |
570 if test "$enable_alsa" = "yes"; then | |
571 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
572 [have_alsa=yes], | |
573 [have_alsa=no] | |
574 ) | |
575 else | |
576 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***]) | |
577 have_alsa=no | |
578 fi | |
579 | |
580 AM_CONDITIONAL(HAVE_ALSA, test "$have_alsa" = "yes") | |
581 | |
582 | |
583 dnl FreeBSD newpcm driver detection | |
584 | |
585 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver, | |
586 if test -r "/dev/sndstat"; then | |
587 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null | |
588 if test "x$?" = "x0"; then | |
589 beep_cv_newpcm_driver="yes" | |
590 else | |
591 beep_cv_newpcm_driver="no" | |
592 fi | |
593 else | |
594 beep_cv_newpcm_driver="no" | |
595 fi | |
596 ) | |
597 | |
598 if test "$beep_cv_newpcm_driver" = "yes"; then | |
599 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver]) | |
600 fi | |
601 | |
602 | |
603 AC_CHECK_HEADERS(linux/cdrom.h) | |
604 AC_CHECK_HEADERS(sys/cdio.h) | |
605 AC_CHECK_HEADERS(linux/joystick.h) | |
606 AC_CHECK_HEADERS(unistd.h) | |
607 AC_CHECK_HEADERS(fcntl.h) | |
608 AC_CHECK_HEADERS(sys/ioctl.h) | |
609 AC_CHECK_HEADERS(fnmatch.h) | |
610 AC_CHECK_HEADERS(limits.h) | |
611 AC_CHECK_HEADERS(wchar.h) | |
612 AC_CHECK_HEADERS(fts.h) | |
613 | |
242 | 614 AC_CHECK_FUNCS([mkdtemp getmntinfo strtoul lrintf]) |
0 | 615 |
616 | |
617 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" | |
618 then | |
619 case "$host" in | |
620 *-*-sunos* | *-*-solaris* | *-*-linux*) | |
621 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) | |
622 ;; | |
623 *-*-freebsd*) | |
624 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
625 ;; | |
626 *-*-netbsd* | *-*-openbsd*) | |
627 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
628 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) | |
629 ;; | |
630 *-*darwin*) | |
631 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
632 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) | |
633 ;; | |
634 esac | |
635 fi | |
636 | |
637 | |
638 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") | |
639 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") | |
640 | |
641 if test -n "$GCC" | |
642 then | |
643 CFLAGS="$CFLAGS -Wall -Wpointer-arith -finline-functions -ffast-math" | |
644 case "$CFLAGS" in | |
645 -g*) ;; | |
646 *\ -g*) ;; | |
647 *) CFLAGS="$CFLAGS -fomit-frame-pointer" ;; | |
648 esac | |
649 case "$host" in | |
650 *-*-freebsd*) | |
651 ;; | |
652 *) | |
653 CFLAGS="$CFLAGS -funroll-all-loops" | |
654 ;; | |
655 esac | |
656 fi | |
657 | |
658 AC_MSG_CHECKING(if __ELF__ is defined) | |
659 AC_EGREP_CPP(yes, | |
660 [#ifdef __ELF__ | |
661 yes | |
662 #endif | |
663 ], | |
664 [is_elf=yes], | |
665 [is_elf=no] | |
666 ) | |
667 AC_MSG_RESULT([${is_elf}]) | |
668 | |
669 | |
670 have_solaris=no | |
671 have_sun=no | |
672 ARCH_DEFINES="" | |
673 case "$host" in | |
674 *-*-openbsd* | *-*-netbsd*) | |
675 have_sun=yes | |
676 if test "${is_elf}" = "no" | |
677 then | |
678 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
679 fi | |
680 ;; | |
681 *-*-darwin*) | |
682 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
683 ;; | |
684 *-hpux-*) | |
685 ARCH_DEFINES="-DHPUX" | |
686 ;; | |
687 *-*-solaris* | *-*-sunos*) | |
688 have_solaris=yes | |
689 ;; | |
690 esac | |
691 | |
692 arch_type=other | |
693 x86_asm=no | |
694 case "$host" in | |
695 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) | |
696 arch_type=ix86 | |
697 case "$host" in | |
698 *-*-netbsd* | *-*openbsd*) | |
699 ;; | |
700 *) | |
701 ARCH_DEFINES="-DI386_ASSEM" | |
702 x86_asm=yes | |
703 ;; | |
704 esac | |
705 ;; | |
706 esac | |
707 | |
708 | |
709 AC_SUBST(ARCH_DEFINES) | |
710 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") | |
711 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) | |
712 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) | |
713 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) | |
714 | |
715 plugindir=$libdir/audacious | |
716 AC_SUBST(plugindir) | |
717 | |
718 if test "x$enable_one_plugin_dir" = "xyes"; then | |
719 pluginsubs="\\\"Plugins\\\"" | |
720 INPUT_PLUGIN_DIR=Plugins | |
721 OUTPUT_PLUGIN_DIR=Plugins | |
722 EFFECT_PLUGIN_DIR=Plugins | |
723 GENERAL_PLUGIN_DIR=Plugins | |
724 VISUALIZATION_PLUGIN_DIR=Plugins | |
725 else | |
726 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\"" | |
727 INPUT_PLUGIN_DIR=Input | |
728 OUTPUT_PLUGIN_DIR=Output | |
729 EFFECT_PLUGIN_DIR=Effect | |
730 GENERAL_PLUGIN_DIR=General | |
731 VISUALIZATION_PLUGIN_DIR=Visualization | |
732 fi | |
733 | |
734 AC_SUBST(INPUT_PLUGIN_DIR) | |
735 AC_SUBST(OUTPUT_PLUGIN_DIR) | |
736 AC_SUBST(EFFECT_PLUGIN_DIR) | |
737 AC_SUBST(GENERAL_PLUGIN_DIR) | |
738 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | |
739 AC_SUBST(pluginsubs) | |
740 | |
741 localedir=$datadir/locale | |
742 AC_SUBST(localedir) | |
743 | |
744 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\"" | |
745 CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
746 | |
747 if test "$enable_user_plugin_dir" = "no"; then | |
748 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory]) | |
749 fi | |
750 | |
751 AC_SUBST(BEEP_DEFINES) | |
752 | |
753 PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex "get_.plugin_info"' | |
754 AC_SUBST(PLUGIN_LDFLAGS) | |
755 | |
756 AC_SUBST(beepdir) | |
757 AC_SUBST(plugindir) | |
758 | |
38 | 759 have_libvisual="yes" |
760 | |
761 AC_CHECK_HEADERS([GL/gl.h GL/glx.h GL/glu.h],opengl="yes",opengl="no") | |
762 if test x"$opengl" = xno; then | |
763 AC_WARN([OpenGL and Glu headers not found, libvisual support cannot be built]) | |
764 have_libvisual="no" | |
765 fi | |
766 | |
767 AC_PATH_PROG(SDL_CONFIG, [sdl-config], [no]) | |
768 AM_PATH_SDL(1.2.5, , [AC_WARN([*** SDL >= 1.2.5 not installed - please install first ***]) | |
769 have_libvisual="no"]) | |
770 | |
771 PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.2.0, [libvis="yes"], [libvis="no"]) | |
772 if test x"$libvis" = xno; then | |
773 have_libvisual="no" | |
774 fi | |
775 AC_SUBST(LIBVISUAL_LIBS) | |
776 AC_SUBST(LIBVISUAL_CFLAGS) | |
777 | |
778 AM_CONDITIONAL(HAVE_LIBVISUAL, test "x$have_libvisual" = xyes) | |
779 | |
0 | 780 AC_CONFIG_FILES([ |
781 Makefile | |
782 audacious.1 | |
783 audacious.spec | |
784 audacious.pc | |
785 audacious/audacious.desktop | |
786 audacious/Makefile | |
787 audacious/glade/Makefile | |
788 audacious/images/Makefile | |
789 libaudacious/Makefile | |
283 | 790 libaudcore/Makefile |
62 | 791 Plugins/Makefile |
792 Plugins/Output/Makefile | |
793 Plugins/Output/OSS/Makefile | |
794 Plugins/Output/esd/Makefile | |
795 Plugins/Output/alsa/Makefile | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
796 Plugins/Output/jack/Makefile |
263 | 797 Plugins/Output/crossfade/Makefile |
62 | 798 Plugins/Output/disk_writer/Makefile |
799 Plugins/Input/Makefile | |
800 Plugins/Input/mpg123/Makefile | |
801 Plugins/Input/aac/Makefile | |
802 Plugins/Input/aac/libmp4v2/Makefile | |
803 Plugins/Input/aac/libfaad2/Makefile | |
804 Plugins/Input/aac/src/Makefile | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
805 Plugins/Input/modplug/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
806 Plugins/Input/modplug/archive/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
807 Plugins/Input/modplug/gui/Makefile |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
808 Plugins/Input/musepack/Makefile |
62 | 809 Plugins/Input/tonegen/Makefile |
810 Plugins/Input/vorbis/Makefile | |
811 Plugins/Input/cdaudio/Makefile | |
812 Plugins/Input/wav/Makefile | |
813 Plugins/Input/flac/Makefile | |
814 Plugins/Input/flac/plugin_common/Makefile | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
815 Plugins/Input/sid/Makefile |
111
9d6a24d21322
[svn] Update configure to generate the makefile for the SPC decoder...
nenolod
parents:
89
diff
changeset
|
816 Plugins/Input/console/Makefile |
139 | 817 Plugins/Input/wma/Makefile |
818 Plugins/Input/wma/libffwma/Makefile | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
819 Plugins/Input/timidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
820 Plugins/Input/timidity/libtimidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
821 Plugins/Input/timidity/src/Makefile |
332
07576d3ed844
[svn] Sexypsf input plugin; patch by dai in bug #395.
chainsaw
parents:
325
diff
changeset
|
822 Plugins/Input/sexypsf/Makefile |
359 | 823 Plugins/Input/adplug/Makefile |
824 Plugins/Input/adplug/core/Makefile | |
62 | 825 Plugins/Visualization/Makefile |
826 Plugins/Visualization/blur_scope/Makefile | |
827 Plugins/Visualization/libvisual-proxy/Makefile | |
116 | 828 Plugins/General/Makefile |
829 Plugins/General/song_change/Makefile | |
157 | 830 Plugins/General/lirc/Makefile |
277 | 831 Plugins/Effect/Makefile |
832 Plugins/Effect/ladspa/Makefile | |
0 | 833 po/Makefile.in |
834 intl/Makefile | |
835 icons/Makefile | |
836 skin/Makefile | |
837 ]) | |
838 | |
839 AC_OUTPUT | |
840 | |
841 | |
842 echo | |
843 echo "Configuration:" | |
844 echo | |
845 echo " Install path: ${prefix}" | |
846 | |
847 if test "$BEEP_PATH" != "no"; then | |
38 | 848 echo " Current Audacious executable: $BEEP_PATH" |
0 | 849 fi |
850 | |
851 echo " Configuration path: \$HOME/$rc_path" | |
852 echo | |
853 echo " Use one plugin dir: $enable_one_plugin_dir" | |
854 echo " Allow user plugin dir: $enable_user_plugin_dir" | |
855 echo | |
856 echo " XMMS Legacy" | |
857 echo " -----------" | |
858 echo " Equalization (works only with mpg123) $use_xmms_eq" | |
859 echo | |
860 echo " GNOME support" | |
861 echo " -------------" | |
862 echo " GConf support $enable_gconf" | |
863 echo " VFS support $enable_gnomevfs" | |
864 echo | |
865 echo " Output Plugins" | |
866 echo " --------------" | |
867 echo " Open Sound System (oss): $have_oss" | |
868 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" | |
869 echo " Enlightenment Sound Daemon (esd): $have_esd" | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
870 echo " Jack Audio Connection Kit (jack): $have_jack" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
871 echo " Crossfading (crossfade): $enable_crossfade" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
872 echo " + libsamplerate support $have_libsamplerate" |
0 | 873 echo |
874 echo " Input Plugins" | |
875 echo " -------------" | |
876 echo " MPEG 1/2/3 (mpg123): $enable_mp3" | |
877 echo " + id3v2 editing: $have_id3lib" | |
2 | 878 echo " MPEG 4 Audio (AAC): $enable_aac" |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
879 echo " Windows Media Audio (wma): $enable_wma" |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
880 echo " .mpc playback (musepack): $enable_musepack" |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
881 echo " Module decoder (modplug): $enable_modplug" |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
882 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
0 | 883 echo " CD Digital Audio (cdda): yes" |
884 echo " Microsoft WAV (wav): yes" | |
184
740c072f8e23
[svn] List sndfile extensions in the plugin configuration table.
chainsaw
parents:
165
diff
changeset
|
885 echo " + sndfile extensions: $enable_sndfile" |
11 | 886 echo " Tone Generator: yes" |
0 | 887 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
888 echo " Free Lossless Audio Codec (flac): $have_flac" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
889 echo " Commodore 64 audio (sid): $have_sidplay" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
890 echo " Game music (spc, nsf & gbs): yes" |
343
7b71e0dbb62d
[svn] Replace a tab with spaces to make Mikachu happy.
chainsaw
parents:
332
diff
changeset
|
891 echo " PlayStation audio (sexypsf): yes" |
359 | 892 echo " AdLib synthesizer (adplug): $have_adplug" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
893 echo |
116 | 894 echo " General" |
895 echo " -------" | |
896 echo " Song Change: yes" | |
157 | 897 echo " LIRC: $have_lirc" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
898 echo |
277 | 899 echo " Effect" |
900 echo " ------" | |
901 echo " LADSPA effects host (ladspa): yes" | |
902 echo | |
0 | 903 echo " Visualization" |
904 echo " -------------" | |
905 echo " Blur Scope: yes" | |
38 | 906 echo " libvisual-proxy: $have_libvisual" |
0 | 907 echo |
908 | |
909 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | |
32 | 910 echo "Note: You need to have thread-safe xlibs to use Audacious." |
0 | 911 echo "If you are using libc5 thread aware Xlibs just skip this." |
912 echo "" | |
913 echo "If you don't have those libs and you are on a libc5 system get them at:" | |
914 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" | |
915 fi | |
916 | |
917 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then | |
918 echo "" | |
919 echo "Note: Configure has discovered that you already have Audacious installed" | |
920 echo "and it does not match with the given --prefix. You have Audacious installed " | |
921 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin." | |
922 echo | |
923 echo "If you don't want two copies of Audacious installed, rerun configure with" | |
924 echo "the --prefix option set to the location of the old Audacious, or uninstall" | |
925 echo "the old Audacious." | |
926 fi |