comparison configure.ac @ 0:cb178e5ad177 trunk

[svn] Import audacious source.
author nenolod
date Mon, 24 Oct 2005 03:06:47 -0700
parents
children 6efb9e514224
comparison
equal deleted inserted replaced
-1:000000000000 0:cb178e5ad177
1 dnl Process this file with autoconf to produce a configure script.
2
3 AC_INIT(audacious, 0.1)
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
22
23 dnl GNU gettext
24
25 AM_GNU_GETTEXT
26 AM_GNU_GETTEXT_VERSION([0.12.1])
27
28
29 dnl Check for C compiler
30
31 AC_LANG([C])
32 AC_ISC_POSIX
33 AC_C_BIGENDIAN
34
35
36 dnl Check for assembler
37
38 AM_PROG_AS
39
40
41 dnl Checks for various programs
42
43 AC_PROG_INSTALL
44 AC_PROG_LN_S
45 AC_PROG_MAKE_SET
46
47 dnl Libtool
48 dnl FIXME: find a way to allow building static libbeep,
49 dnl without building static plugins
50
51 dnl Next four lines is a hack to prevent libtool checking for C++/F77
52 m4_undefine([AC_PROG_CXX])
53 m4_defun([AC_PROG_CXX],[])
54 m4_undefine([AC_PROG_F77])
55 m4_defun([AC_PROG_F77],[])
56
57 AC_DISABLE_STATIC
58 AC_ENABLE_SHARED
59 AC_PROG_LIBTOOL
60
61 dnl Path settings
62
63 AC_PATH_PROG(BEEP_PATH, audacious, no)
64
65 AC_ARG_WITH(rc-path,
66 [ --rc-path=path Resource and configuration path for bmp relative to $HOME.],
67 [rc_path=$withval],
68 [rc_path=.audacious]
69 )
70 AC_DEFINE_UNQUOTED(BMP_RCPATH, "$rc_path",
71 [Resource and configuration path for bmp relative to $HOME.]
72 )
73 AC_SUBST(BMP_RCPATH)
74
75 AC_ARG_ENABLE(one-plugin-dir,
76 [ --enable-one-plugin-dir Use a single plugin dir [default=no]],
77 [enable_one_plugin_dir=$enableval],
78 [enable_one_plugin_dir=no]
79 )
80
81 AC_ARG_ENABLE(user-plugin-dir,
82 [ --disable-user-plugin-dir disable per-user plugin dir],
83 [enable_user_plugin_dir=$enableval],
84 [enable_user_plugin_dir=yes]
85 )
86
87 AC_ARG_WITH(dev-dsp,
88 [ --with-dev-dsp=path Path to OSS DSP data pipe, default is /dev/dsp.],
89 [dev_dsp=$withval],
90 [dev_dsp=/dev/dsp]
91 )
92 AC_DEFINE_UNQUOTED(DEV_DSP, "$dev_dsp",
93 [Path to OSS DSP, really just a data pipe, default is /dev/dsp.]
94 )
95
96 AC_ARG_WITH(dev-mixer,
97 [ --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer.],
98 [dev_mixer=$withval],
99 [dev_mixer=/dev/mixer]
100 )
101 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer",
102 [Path to OSS mixer, default is /dev/mixer.]
103 )
104
105 AC_ARG_WITH(cdda-device,
106 [ --with-cdda-device=path Path to default cdaudio device.],
107 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval",
108 [Path to default cdaudio device.]
109 )
110 ]
111 )
112
113 AC_ARG_WITH(cdda-dir,
114 [ --with-cdda-dir=path Path to default cdaudio directory.],
115 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval",
116 [Path to default cdaudio directory.]
117 )
118 ]
119 )
120
121
122 dnl If {type}_PLUGINS is defined, it should be a comma or space separated
123 dnl list of plugins that should be built, e.g.,
124 dnl INPUT_PLUGINS="mpg123,cdaudio cdin". If variable is not defined, all
125 dnl buildable plugins are compiled. This stuff makes life easier for
126 dnl automated builds that want to disable certain plugins.
127
128 for class in EFFECT GENERAL INPUT OUTPUT VISUALIZATION; do
129 value=`eval echo "\\$${class}_PLUGINS"`
130 if test "${value}" = ""; then
131 eval ${class}_PLUGINS="\$\(ALL_PLUGINS\)"
132 else
133 value=`echo ${value} | sed -e 's/,/ /g'`
134 eval ${class}_PLUGINS="\${value}"
135 fi
136 done
137
138 AC_SUBST(EFFECT_PLUGINS)
139 AC_SUBST(GENERAL_PLUGINS)
140 AC_SUBST(INPUT_PLUGINS)
141 AC_SUBST(OUTPUT_PLUGINS)
142 AC_SUBST(VISUALIZATION_PLUGINS)
143
144
145 dnl Option to change equalizer to the old XMMS one which only works with the mpg123
146 dnl plugin (or rather, only implemented within the plugin)
147
148 AC_ARG_WITH(xmms-eq,
149 [ --with-xmms-eq Use old XMMS equalization code.],
150 [use_xmms_eq=$withval],
151 [use_xmms_eq=no]
152 )
153
154 if test "$use_xmms_eq" = "yes"; then
155 AC_DEFINE(XMMS_EQ, , [Define if building with old XMMS equalization code.])
156 fi
157
158
159 dnl Check for X
160 dnl FIXME: remove this dependency
161
162 AC_PATH_XTRA
163 if test "$no_x" = "yes" ; then
164 AC_MSG_ERROR([Cannot find X11 headers/libraries])
165 fi
166
167 dnl Check for GTK/GLib/GThread/Pango
168
169 PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gthread-2.0 pango],
170 [ADD_PC_REQUIRES([glib-2.0 >= 2.4.0, gtk+-2.0 >= 2.4.0])],
171 [AC_MSG_ERROR([Cannot find glib2/gtk2/pango])]
172 )
173
174 dnl Check for libglade
175
176 PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= 2.3.1],
177 [],
178 [AC_MSG_ERROR([Cannot find libglade])]
179 )
180
181
182 dnl x86 SIMD(3DNow!/MMX) instructions support
183 dnl ========================
184
185 AC_ARG_ENABLE(simd,
186 [ --enable-simd build with x86 SIMD(3DNow!/MMX) instructions support (default=no)],
187 [USE_SIMD=$enableval],
188 [USE_SIMD=no]
189 )
190
191 if test "$USE_SIMD" = "yes"; then
192 AC_DEFINE(USE_SIMD, , [Define if building with ia32 SIMD support])
193 fi
194
195 AM_CONDITIONAL(USE_SIMD, test "$USE_SIMD" = "yes")
196 AC_SUBST(USE_SIMD_TRUE)
197
198
199 # Check if socklen_t is defined
200
201 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t,
202 [AC_TRY_COMPILE(
203 [#include <sys/types.h>
204 #include <sys/socket.h>],
205 [socklen_t s;],
206 [beep_cv_type_socklen_t=yes],
207 [beep_cv_type_socklen_t=no]
208 )
209 ]
210 )
211
212 if test "$beep_cv_type_socklen_t" = "no"; then
213 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing])
214 fi
215
216
217 dnl GConf support
218
219 AC_ARG_ENABLE( gconf,
220 [ --enable-gconf enable GConf support (default=disabled)],
221 [enable_gconf=$enableval],
222 [enable_gconf="no"]
223 )
224
225 if test "$enable_gconf" = "yes"; then
226 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0],
227 [
228 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support])
229 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0])
230 ],
231 [AC_MSG_ERROR([Cannot find GConf])]
232 )
233 fi
234
235 AM_CONDITIONAL(HAVE_GCONF, test "$enable_gconf" = "yes")
236
237
238 dnl GnomeVFS support
239
240 AC_ARG_ENABLE( gnome-vfs,
241 [ --enable-gnome-vfs enable GnomeVFS support (default=disabled)],
242 [enable_gnomevfs=$enableval],
243 [enable_gnomevfs="no"]
244 )
245
246 if test "$enable_gnomevfs" = "yes"; then
247 PKG_CHECK_MODULES(GNOMEVFS, [gnome-vfs-2.0 >= 2.6.0],
248 [
249 AC_DEFINE(HAVE_GNOME_VFS, , [Define if building with GnomeVFS support])
250 ADD_PC_REQUIRES([gnome-vfs-2.0 >= 2.6.0])
251 ],
252 [AC_MSG_ERROR([Cannot find GnomeVFS])]
253 )
254 fi
255
256 AM_CONDITIONAL(HAVE_GNOME_VFS, test "$enable_gnomevfs" = "yes")
257
258
259 dnl Check for esound
260
261 AC_ARG_ENABLE( esd,
262 [ --disable-esd disable esound output plugin [default=enabled]],
263 [enable_esd=$enableval],
264 [enable_esd="yes"]
265 )
266
267 if test "$enable_esd" = "yes"; then
268 PKG_CHECK_MODULES(ESD, [esound >= 0.2],
269 [have_esd=yes],
270 [have_esd=no]
271 )
272 else
273 AC_MSG_RESULT([*** esound plugin disabled per user request ***])
274 have_esd=no
275 fi
276
277 AM_CONDITIONAL(HAVE_ESD, test "$have_esd" = "yes")
278
279
280 dnl *** MP3
281
282 AC_ARG_ENABLE(mp3,
283 [ --disable-mp3 disable mp3 plugin. [default=enabled] ],
284 [enable_mp3=$enableval],
285 [enable_mp3=yes]
286 )
287
288 AM_CONDITIONAL(ENABLE_MPG123, test "$enable_mp3" = "yes")
289
290 dnl *** id3lib
291 dnl only makes sence if mp3's enabled
292 if test "x$enable_mp3" = "xyes" ; then
293
294 ID3LIBS=""
295 have_id3lib="no"
296
297 dnl here we assume that if libz isn't installed but id3lib is
298 dnl it's compiled without compression support
299 AC_CHECK_HEADERS([id3.h],[
300 AC_CHECK_LIB([z],[compress],[ZLIB='-lz'],[ZLIB=''])
301 AC_CHECK_LIB([id3],[ID3Tag_New],
302 [have_id3lib=yes
303 AC_DEFINE(HAVE_ID3LIB,,[Define when using id3lib])
304 ID3LIBS="-lstdc++ $ZLIB -lid3"],,[-lstdc++ $ZLIB])])
305
306 AC_SUBST(ID3LIBS)
307
308 fi dnl $enable_mp3 = yes
309
310 dnl *** Ogg Vorbis
311
312 AC_ARG_ENABLE(vorbis,
313 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)],
314 [enable_vorbis=$enableval],
315 [enable_vorbis="yes"]
316 )
317
318 if test "$enable_vorbis" = "yes"; then
319 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
320 [have_oggvorbis=yes],
321 [AC_MSG_ERROR([Cannot find libogg/libvorbis])
322 have_oggvorbis=no]
323 )
324 else
325 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***])
326 have_oggvorbis=no
327 fi
328
329 AM_CONDITIONAL(HAVE_OGGVORBIS, [test "$have_oggvorbis" = "yes"])
330
331
332 dnl *** OSS output
333
334 AC_ARG_ENABLE(oss,
335 [ --disable-oss disable the OSS output plugin],
336 [have_oss=$enableval],
337 [have_oss=yes]
338 )
339
340 if test "$have_oss" = "yes"; then
341 AC_MSG_CHECKING(for OSS include dir)
342 OSS_CFLAGS=""
343 if test -f "/etc/oss.conf" ; then
344 for i in `cat /etc/oss.conf`; do
345 t=`echo $i | sed -e 's/OSSLIBDIR=//'`
346 if test "$i" != "$t" ; then
347 if test -f "$t/include/sys/soundcard.h" ; then
348 OSS_CFLAGS="-I$t/include"
349 fi
350 fi
351 done
352 fi
353 if test -n "$OSS_CFLAGS" ; then
354 AC_MSG_RESULT([$OSS_CFLAGS])
355 else
356 AC_MSG_RESULT([not found])
357 fi
358 CFLAGS_save=$CFLAGS
359 CFLAGS="$CFLAGS $OSS_CFLAGS"
360 AC_CHECK_HEADERS(sys/soundcard.h)
361 AC_CHECK_HEADERS(machine/soundcard.h)
362 CFLAGS=$CFLAGS_save
363
364 if test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then
365 have_oss=yes
366 fi
367 fi
368
369 if test "$have_oss" = "yes"; then
370 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built])
371 else
372 have_oss=no
373 fi
374
375 AM_CONDITIONAL(HAVE_OSS, test "$have_oss" = "yes")
376
377
378 dnl *** ALSA output plugin
379
380 AC_ARG_ENABLE(alsa,
381 [ --disable-alsa disable ALSA input plugin (default=enabled)],
382 [enable_alsa=$enableval],
383 [enable_alsa=yes]
384 )
385
386 if test "$enable_alsa" = "yes"; then
387 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
388 [have_alsa=yes],
389 [have_alsa=no]
390 )
391 else
392 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***])
393 have_alsa=no
394 fi
395
396 AM_CONDITIONAL(HAVE_ALSA, test "$have_alsa" = "yes")
397
398
399 dnl FreeBSD newpcm driver detection
400
401 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver,
402 if test -r "/dev/sndstat"; then
403 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null
404 if test "x$?" = "x0"; then
405 beep_cv_newpcm_driver="yes"
406 else
407 beep_cv_newpcm_driver="no"
408 fi
409 else
410 beep_cv_newpcm_driver="no"
411 fi
412 )
413
414 if test "$beep_cv_newpcm_driver" = "yes"; then
415 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver])
416 fi
417
418
419 AC_CHECK_HEADERS(linux/cdrom.h)
420 AC_CHECK_HEADERS(sys/cdio.h)
421 AC_CHECK_HEADERS(linux/joystick.h)
422 AC_CHECK_HEADERS(unistd.h)
423 AC_CHECK_HEADERS(fcntl.h)
424 AC_CHECK_HEADERS(sys/ioctl.h)
425 AC_CHECK_HEADERS(fnmatch.h)
426 AC_CHECK_HEADERS(limits.h)
427 AC_CHECK_HEADERS(wchar.h)
428 AC_CHECK_HEADERS(fts.h)
429
430 AC_CHECK_FUNCS(mkdtemp)
431 AC_CHECK_FUNCS(getmntinfo)
432 AC_CHECK_FUNCS(strtoul)
433
434
435 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes"
436 then
437 case "$host" in
438 *-*-sunos* | *-*-solaris* | *-*-linux*)
439 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style])
440 ;;
441 *-*-freebsd*)
442 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style])
443 ;;
444 *-*-netbsd* | *-*-openbsd*)
445 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style])
446 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant])
447 ;;
448 *-*darwin*)
449 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style])
450 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant])
451 ;;
452 esac
453 fi
454
455
456 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes")
457 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes")
458
459 if test -n "$GCC"
460 then
461 CFLAGS="$CFLAGS -Wall -Wpointer-arith -finline-functions -ffast-math"
462 case "$CFLAGS" in
463 -g*) ;;
464 *\ -g*) ;;
465 *) CFLAGS="$CFLAGS -fomit-frame-pointer" ;;
466 esac
467 case "$host" in
468 *-*-freebsd*)
469 ;;
470 *)
471 CFLAGS="$CFLAGS -funroll-all-loops"
472 ;;
473 esac
474 fi
475
476 AC_MSG_CHECKING(if __ELF__ is defined)
477 AC_EGREP_CPP(yes,
478 [#ifdef __ELF__
479 yes
480 #endif
481 ],
482 [is_elf=yes],
483 [is_elf=no]
484 )
485 AC_MSG_RESULT([${is_elf}])
486
487
488 have_solaris=no
489 have_sun=no
490 ARCH_DEFINES=""
491 case "$host" in
492 *-*-openbsd* | *-*-netbsd*)
493 have_sun=yes
494 if test "${is_elf}" = "no"
495 then
496 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any])
497 fi
498 ;;
499 *-*-darwin*)
500 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any])
501 ;;
502 *-hpux-*)
503 ARCH_DEFINES="-DHPUX"
504 ;;
505 *-*-solaris* | *-*-sunos*)
506 have_solaris=yes
507 ;;
508 esac
509
510 arch_type=other
511 x86_asm=no
512 case "$host" in
513 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
514 arch_type=ix86
515 case "$host" in
516 *-*-netbsd* | *-*openbsd*)
517 ;;
518 *)
519 ARCH_DEFINES="-DI386_ASSEM"
520 x86_asm=yes
521 ;;
522 esac
523 ;;
524 esac
525
526
527 AC_SUBST(ARCH_DEFINES)
528 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86")
529 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes)
530 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes)
531 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes)
532
533 plugindir=$libdir/audacious
534 AC_SUBST(plugindir)
535
536 if test "x$enable_one_plugin_dir" = "xyes"; then
537 pluginsubs="\\\"Plugins\\\""
538 INPUT_PLUGIN_DIR=Plugins
539 OUTPUT_PLUGIN_DIR=Plugins
540 EFFECT_PLUGIN_DIR=Plugins
541 GENERAL_PLUGIN_DIR=Plugins
542 VISUALIZATION_PLUGIN_DIR=Plugins
543 else
544 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\""
545 INPUT_PLUGIN_DIR=Input
546 OUTPUT_PLUGIN_DIR=Output
547 EFFECT_PLUGIN_DIR=Effect
548 GENERAL_PLUGIN_DIR=General
549 VISUALIZATION_PLUGIN_DIR=Visualization
550 fi
551
552 AC_SUBST(INPUT_PLUGIN_DIR)
553 AC_SUBST(OUTPUT_PLUGIN_DIR)
554 AC_SUBST(EFFECT_PLUGIN_DIR)
555 AC_SUBST(GENERAL_PLUGIN_DIR)
556 AC_SUBST(VISUALIZATION_PLUGIN_DIR)
557 AC_SUBST(pluginsubs)
558
559 localedir=$datadir/locale
560 AC_SUBST(localedir)
561
562 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\""
563 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
564
565 if test "$enable_user_plugin_dir" = "no"; then
566 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory])
567 fi
568
569 AC_SUBST(BEEP_DEFINES)
570
571 PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex "get_.plugin_info"'
572 AC_SUBST(PLUGIN_LDFLAGS)
573
574 AC_SUBST(beepdir)
575 AC_SUBST(plugindir)
576
577 AC_CONFIG_FILES([
578 Makefile
579 audacious.1
580 audacious.spec
581 audacious.pc
582 audacious/audacious.desktop
583 audacious/Makefile
584 audacious/glade/Makefile
585 audacious/images/Makefile
586 libaudacious/Makefile
587 Output/Makefile
588 Output/OSS/Makefile
589 Output/esd/Makefile
590 Output/alsa/Makefile
591 Input/Makefile
592 Input/mpg123/Makefile
593 Input/vorbis/Makefile
594 Input/cdaudio/Makefile
595 Input/wav/Makefile
596 Visualization/Makefile
597 Visualization/blur_scope/Makefile
598 po/Makefile.in
599 intl/Makefile
600 icons/Makefile
601 skin/Makefile
602 ])
603
604 AC_OUTPUT
605
606
607 echo
608 echo "Configuration:"
609 echo
610 echo " Install path: ${prefix}"
611
612 if test "$BEEP_PATH" != "no"; then
613 echo " Current beep executable: $BEEP_PATH"
614 fi
615
616 echo " Configuration path: \$HOME/$rc_path"
617 echo
618 echo " Use one plugin dir: $enable_one_plugin_dir"
619 echo " Allow user plugin dir: $enable_user_plugin_dir"
620 echo
621 echo " XMMS Legacy"
622 echo " -----------"
623 echo " Equalization (works only with mpg123) $use_xmms_eq"
624 echo
625 echo " GNOME support"
626 echo " -------------"
627 echo " GConf support $enable_gconf"
628 echo " VFS support $enable_gnomevfs"
629 echo
630 echo " Output Plugins"
631 echo " --------------"
632 echo " Open Sound System (oss): $have_oss"
633 echo " Advanced Linux Sound Arch. (alsa): $have_alsa"
634 echo " Enlightenment Sound Daemon (esd): $have_esd"
635 echo
636 echo " Input Plugins"
637 echo " -------------"
638 echo " MPEG 1/2/3 (mpg123): $enable_mp3"
639 echo " + id3v2 editing: $have_id3lib"
640 echo " CD Digital Audio (cdda): yes"
641 echo " Microsoft WAV (wav): yes"
642 echo " Ogg Vorbis (vorbis): $have_oggvorbis"
643 echo ""
644 echo " Visualization"
645 echo " -------------"
646 echo " Blur Scope: yes"
647 echo
648
649 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then
650 echo "Note: You need to have thread-safe xlibs to use beep."
651 echo "If you are using libc5 thread aware Xlibs just skip this."
652 echo ""
653 echo "If you don't have those libs and you are on a libc5 system get them at:"
654 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/"
655 fi
656
657 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then
658 echo ""
659 echo "Note: Configure has discovered that you already have Audacious installed"
660 echo "and it does not match with the given --prefix. You have Audacious installed "
661 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin."
662 echo
663 echo "If you don't want two copies of Audacious installed, rerun configure with"
664 echo "the --prefix option set to the location of the old Audacious, or uninstall"
665 echo "the old Audacious."
666 fi