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