1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/tX_global.h)
3 AM_INIT_AUTOMAKE(terminatorX, 3.89)
4 AM_CONFIG_HEADER(config.h)
6 AC_ARG_ENABLE(sox, [ --enable-sox use sox as input converter. (default=auto) ])
7 AC_ARG_ENABLE(mpg123, [ --enable-mpg123 use mpg123 as input converter. (default=auto) ])
8 AC_ARG_ENABLE(ogg123, [ --enable-ogg123 use ogg123 as input converter. (default=auto) ])
9 AC_ARG_ENABLE(scheduler, [ --enable-scheduler enable rt-scheduling (default=auto) ])
10 AC_ARG_ENABLE(debug, [ --enable-debug enable debug output. (default=no) ])
11 dnl AC_ARG_ENABLE(benchmark [ --enable-benchmark creates a non-functional test version (default=no) ])
12 AC_ARG_ENABLE(wav, [ --enable-wav enables the built-in wav-loader (default=yes) ])
13 AC_ARG_ENABLE(xsetpointer, [ --enable-xsetpointer enables executing of xsetpointer (default=auto) ])
14 AC_ARG_ENABLE(alsa, [ --enable-alsa use ALSA for sound output (default=auto) ])
15 AC_ARG_ENABLE(jack, [ --enable-jack use JACK for sound output (default=auto) ])
16 AC_ARG_ENABLE(oss, [ --enable-oss use OSS for sound output (default=auto) ])
17 dnl AC_ARG_ENABLE(dga2, [ --enable-dga2 use DGA2 instead of DGA1. (experimental) (default=no) ])
18 AC_ARG_ENABLE(libxml2, [ --disable-libxml2 use libxml even if verion 2 detected (default=auto) ])
19 AC_ARG_ENABLE(mad, [ --disable-mad disable mad for mp3 support (default=auto) ])
20 AC_ARG_ENABLE(vorbis, [ --disable-vorbis disable libvorbis support (default=auto) ])
21 AC_ARG_ENABLE(audiofile, [ --disable-audiofile disable audiofile support (default=auto) ])
22 AC_ARG_ENABLE(filechooser, [ --disable-filechooser disable gtk+ 2.4 filechooser (default=auto) ])
23 AC_ARG_ENABLE(startup, [ --disable-startup disable startup-notification (default=auto) ])
24 AC_ARG_ENABLE(legacy, [ --enable-legacy enable support for old terminatorX files (default=no) ])
25 AC_ARG_ENABLE(alsamidi, [ --disable-alsamidi disable support ALSA MIDI in (default=auto) ])
26 AC_ARG_ENABLE(lrdf, [ --disable-lrdf disable support for liblrdf (default=auto) ])
27 AC_ARG_ENABLE(capabilities, [ --enable-capabilities to use rt-scheduling (default=auto) ])
28 AC_ARG_ENABLE(deprecated, [ --disable-deprecated compile without deprecated G*-headers (default=no) ])
29 AC_ARG_WITH(docdir, [ --with-docdir=/some/dir the final location the docs will be installed to. ])
31 dnl Checks for programs.
56 dnl Checks for libraries.
57 AC_CHECK_LIB(m, floor,, AC_MSG_ERROR([** math-lib not installed or broken **]))
59 dnl Checking whether -pthreads, -lpthreads or simply nothing
63 dnl Some machines don't require any switches for pthread support...
65 AC_MSG_CHECKING([whether pthreads works without switches])
69 AC_TRY_LINK([#include <pthread.h>], [ pthread_t thread; pthread_create(&thread, NULL, NULL, NULL);],
74 AC_MSG_RESULT([$no_threads_flags])
76 if test "$no_threads_flags" = "yes"; then
80 dnl Some machines prefer the -lpthread...
82 if test "$tX_threads" = "no"; then
84 AC_CHECK_LIB(pthread, pthread_detach, pthread_lib=yes, pthread_lib=no)
86 if test "$pthread_lib" = "yes"; then
88 LIBS="$LIBS -lpthread"
92 dnl Some machines prefer a -pthread...
94 if test "$tX_threads" = "no"; then
95 AC_MSG_CHECKING([whether -pthread is required for pthreads])
97 ac_save_CFLAGS=$CFLAGS
98 CFLAGS="$CFLAGS -pthread"
101 AC_TRY_LINK([#include <pthread.h>], [ pthread_t thread; pthread_create(&thread, NULL, NULL, NULL);],
106 CFLAGS=$ac_save_CFLAGS
107 AC_MSG_RESULT([$use_gcc_threads])
109 if test "$use_gcc_threads" = "yes"; then
111 CFLAGS="$CFLAGS -pthread"
115 dnl If we still haven't found pthreads, we panic...
117 if test "$tX_threads" = "no"; then
118 AC_MSG_ERROR([** failed to detect pthreads implementation **])
122 AC_SEARCH_LIBS([dlclose], [dl])
124 dnl GTK+ search. Enable FileChooser for gtk+>=2.4
127 GTK2_CFLAGS="$GTK_CFLAGS"
128 GTK2_LIBS="$GTK_LIBS"
130 GTK2_VERSION="`$PKG_CONFIG --modversion gtk+-2.0`"], [ gtk2="yes" ])
132 OPTION_GTK_VERSION="Version 2 - ($GTK2_VERSION)"
133 vers=`echo $GTK2_VERSION | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
135 if test "$enable_filechooser" != "no"; then
136 AC_MSG_CHECKING([whether to use the FileChooser])
137 if test "$vers" -ge 2004000; then
139 AC_DEFINE_UNQUOTED([USE_FILECHOOSER], 1, [Use the new FileChooser.])
145 if test "$gtk2" = "no"; then
146 AC_MSG_ERROR([** couldn't find gtk+ > Version 2. Please upgrade (http://www.gtk.org). **])
149 if test "$enable_startup" != "no"; then
150 AC_MSG_CHECKING([whether gtk+ does startup notification])
151 if test "$vers" -ge 2002000; then
153 AC_DEFINE_UNQUOTED([USE_STARTUP_NOTIFICATION], 1, [Use gtk+ statup notification.])
159 dnl Checks for header files.
161 AC_CHECK_HEADERS(fcntl.h limits.h malloc.h unistd.h)
163 dnl Disable LADSPA caching..
164 unset ac_cv_header_ladspa_h
167 AC_CHECK_HEADERS(ladspa.h, have_ladspa=yes, have_ladspa=no)
169 dnl Disable LADSPA caching..
170 unset ac_cv_header_ladspa_h
172 dnl Some people install LADSPA in /usr/local
174 if test "$have_ladspa" = "no"; then
175 ac_save_CFLAGS=$CFLAGS
176 CFLAGS="$CFLAGS -I/usr/local/include"
177 AC_CHECK_HEADERS(ladspa.h, have_ladspa=yes, have_ladspa=no)
178 CFLAGS=$ac_save_CFLAGS
180 if test "$have_ladspa" = "yes"; then
181 CFLAGS="$CFLAGS -I/usr/local/include"
185 if test "$have_ladspa" = "no"; then
186 AC_MSG_ERROR([** couldn't find ladspa.h - Install the LADSPA SDK from http://www.ladspa.org first. **])
189 ac_save_CFLAGS=$CFLAGS
190 CFLAGS="$CFLAGS -finput-charset=utf-8"
191 AC_TRY_COMPILE([#include <stdio.h>],, have_utf8=yes, have_utf8=no)
192 CFLAGS=$ac_save_CFLAGS
194 if test "$have_utf8" = "yes"; then
195 CFLAGS="$CFLAGS -finput-charset=utf-8"
198 AC_CHECK_HEADERS(zlib.h,, AC_MSG_ERROR([** couldn't find zlib.h **]))
199 AC_CHECK_LIB(z,gzprintf, LIBS="$LIBS -lz", AC_MSG_ERROR([** couldn't find libz library **]))
201 dnl Checks for typedefs, structures, and compiler characteristics.
205 dnl Checks for library functions.
206 AC_PROG_GCC_TRADITIONAL
209 if test "$enable_closedev" = "no"; then
210 AC_DEFINE_UNQUOTED([KEEP_DEV_OPEN], 1, [Define if you want keep device open])
214 if test "$enable_sox" != "no"; then
215 AC_CHECK_PROG(SOX_PROG, sox, yes)
216 if test "$SOX_PROG" = "yes"; then
217 AC_DEFINE_UNQUOTED([USE_SOX_INPUT], 1, [Define if you want to use sox as input converter])
222 if test "$enable_mad" != "no"; then
223 AC_CHECK_HEADERS(mad.h,madheader=yes,madheader=no)
224 if test "$madheader" = "yes"; then
225 AC_CHECK_LIB(mad,mad_decoder_init,madlib=yes,madlib=no)
226 if test "$madlib" = "yes"; then
228 AC_DEFINE_UNQUOTED([USE_MAD_INPUT], 1, [Define to use MAD for mp3 support])
234 AC_CHECK_HEADERS(X11/extensions/Xxf86dga.h,newDgaHeader=yes,newDgaHeader=no, [#include <X11/Xlib.h>])
236 if test "$newDgaHeader" = "no"; then
237 AC_CHECK_HEADERS(X11/extensions/xf86dga.h,oldDgaHeader=yes,oldDgaHeader=no, [#include <X11/Xlib.h>])
239 if test "$oldDgaHeader" = "no"; then
240 AC_MSG_ERROR([** couldn't find xf86dga.h header - Install X11 headers first. **])
244 if test "$enable_vorbis" != "no"; then
245 AC_CHECK_HEADERS(vorbis/codec.h vorbis/vorbisfile.h,vorbis_headers=yes,vorbis_headers="no")
246 if test "$vorbis_headers" = "yes"; then
247 AC_CHECK_LIB(vorbis,vorbis_info_init,vorbis_libs=yes,vorbis_libs=no)
248 if test "$vorbis_libs" = "yes"; then
250 LIBS="$LIBS -lvorbis"
251 AC_CHECK_LIB(vorbisfile,ov_open_callbacks,vorbisfile_libs=yes,vorbisfile_libs=no)
252 if test "$vorbisfile_libs" = "yes"; then
253 LIBS="$LIBS -lvorbisfile"
254 AC_DEFINE_UNQUOTED([USE_VORBIS_INPUT], 1, [Define to use libvorbis for ogg support])
263 if test "$enable_audiofile" != "no"; then
264 AC_CHECK_PROG(af_config,audiofile-config,yes,no)
265 if test "$af_config" = "yes"; then
266 af_cflags=`audiofile-config --cflags`
267 if test "$af_cflags" != ""; then
268 CFLAGS="$CFLAGS $af_cflags"
270 af_libs=`audiofile-config --libs`
271 LIBS="$LIBS $af_libs"
272 AC_DEFINE_UNQUOTED([USE_AUDIOFILE_INPUT], 1, [Define to compile libaudiofile support])
273 OPTION_AUDIOFILE="yes"
275 AC_CHECK_HEADERS(audiofile.h,audiofile_headers=yes,audiofile_headers=no)
276 if test "$audiofile_headers" = "yes"; then
277 AC_CHECK_LIB(audiofile,afOpenFile,audiofile_libs=yes,audiofile_libs=no)
278 if test "$audiofile_libs" = "yes"; then
279 LIBS="$LIBS -laudiofile"
280 AC_DEFINE_UNQUOTED([USE_AUDIOFILE_INPUT], 1, [Define to compile libaudiofile support])
281 OPTION_AUDIOFILE="yes"
287 if test "$enable_mpg123" != "no"; then
288 AC_CHECK_PROG(MPG123_PROG, mpg123, yes)
289 if test "$MPG123_PROG" = "yes"; then
290 if test "$SOX_PROG" = "yes"; then
291 AC_DEFINE_UNQUOTED([USE_MPG123_INPUT], 1, [Define mp3-input through mpg123 - requires sox as well])
294 AC_CHECK_PROG(SOX_PROG, sox, yes)
295 if test "$SOX_PROG" = "yes"; then
296 AC_DEFINE_UNQUOTED([USE_MPG123_INPUT], 1, [Define mp3-input through mpg123 - requires sox as well])
299 AC_MSG_RESULT([** mpg123 support disabled: couldn't find sox! **])
305 if test "$enable_ogg123" != "no"; then
306 AC_CHECK_PROG(OGG123_PROG, ogg123, yes)
307 if test "$OGG123_PROG" = "yes"; then
308 AC_DEFINE_UNQUOTED([USE_OGG123_INPUT], 1, [Define if you want UGLY ogg-input "support" - also requires sox])
313 if test "$enable_xsetpointer" != "no"; then
314 AC_CHECK_PROG(XSETPOINTER_PROG, xsetpointer, yes)
315 if test "$XSETPOINTER_PROG" = "yes"; then
316 AC_DEFINE_UNQUOTED([USE_XSETPOINTER], 1, [Exec xsetpointer instead of using Xlib-calls.])
318 if test "$enable_xsetpointer" = "yes"; then
319 AC_MSG_ERROR([** xsetpointer not found. **])
324 if test "$enable_movqfix" = "no"; then
325 AC_DEFINE_UNQUOTED([OVERRIDE_MOVQ_AUTODETECT], 1, [Don't use movqfix])
332 if test "$enable_alsa" != "no"; then
333 AC_CHECK_LIB(asound, snd_pcm_writei,alsalib=yes,alsalib=no)
334 AC_CHECK_HEADERS(alsa/asoundlib.h,alsaheader=yes,alsaheader=no)
336 if test "$alsalib" = "yes"; then
337 if test "$alsaheader" = "yes"; then
338 AC_DEFINE_UNQUOTED([USE_ALSA], 1, [ Define to enable ALSA audio backend. ])
339 LIBS="$LIBS -lasound"
343 if test "$enable_alsa" = "yes"; then
344 AC_MSG_ERROR([** Coulnd't find ALSA header file sys/asoundlib.h **])
348 if test "$enable_alsa" = "yes"; then
349 AC_MSG_ERROR([** Coulnd'f find ALSA library libasound. **])
354 if test "$enable_jack" != "no"; then
355 AC_CHECK_LIB(jack,jack_activate,jacklib=yes,jacklib=no)
356 AC_CHECK_HEADERS(jack/jack.h,jackheader=yes,jackheader=no)
358 if test "$jacklib" = "yes"; then
359 if test "$jackheader" = "yes"; then
360 AC_DEFINE_UNQUOTED([USE_JACK], 1, [ Define to enable JACK audio backend.])
365 if test "$enable_jack" = "yes"; then
366 AC_MSG_ERROR([** Coulnd't find JACK header file jack/jack.h **])
370 if test "$enable_jack" = "yes"; then
371 AC_MSG_ERROR([** Coulnd'f find JACK library libjack. **])
377 if test "$enable_oss" != "no"; then
378 AC_CHECK_HEADERS(sys/ioctl.h sys/soundcard.h,oss=yes,oss=no)
380 if test "$oss" = "yes"; then
381 AC_DEFINE_UNQUOTED([USE_OSS], 1, [Use OSS])
385 if test "$enable_oss" = "yes"; then
386 AC_MSG_ERROR([** Couldn't find OSS header files. ***])
391 if test "$enable_alsamidi" != "no"; then
392 if test "$using_alsa" = "yes"; then
393 AC_DEFINE_UNQUOTED([USE_ALSA_MIDI_IN], 1, [Define for ALSA MIDI in support])
394 OPTION_ALSAMIDI="yes"
396 AC_CHECK_LIB(asound, snd_seq_open,alsalib=yes,alsalib=no)
397 AC_CHECK_HEADERS(alsa/asoundlib.h,alsaheader=yes,alsaheader=no)
399 if test "$alsalib" = "yes"; then
400 if test "$alsaheader" = "yes"; then
401 AC_DEFINE_UNQUOTED([USE_ALSA_MIDI_IN], 1, [Define for ALSA MIDI in support])
402 LIBS="$LIBS -lasound"
403 OPTION_ALSAMIDI="yes"
405 if test "$enable_alsamidi" = "yes"; then
406 AC_MSG_ERROR([** Coulnd't find ALSA header file alsa/asoundlib.h **])
410 if test "$enable_alsamidin" = "yes"; then
411 AC_MSG_ERROR([** Couldn't find ALSA library libasound. **])
417 if test "$using_alsa" != "yes"; then
418 if test "$using_oss" != "yes"; then
419 if test "$using_jack" != "yes"; then
420 AC_MSG_ERROR([** Found neither OSS, ALSA nor JACK - no output device! **])
425 if test "$enable_wav" != "no";
427 AC_DEFINE_UNQUOTED([USE_BUILTIN_WAV], 1, [Define to enable the built-in wav loading routines])
431 if test "$enable_3dnow" = "yes"; then
432 AC_DEFINE_UNQUOTED([USE_3DNOW], 1, [Do not define this])
435 if test "$enable_scheduler" != "no"; then
436 OPTION_SCHEDULER="yes";
437 AC_DEFINE_UNQUOTED([USE_SCHEDULER], 1, [Define this to compile with rt scheduling support])
440 if test "$enable_debug" = yes; then
441 AC_DEFINE_UNQUOTED([ENABLE_DEBUG_OUTPUT], 1, [Define this to enable debug output.])
444 if test "$enable_benchmark" = yes; then
445 AC_DEFINE_UNQUOTED([CREATE_BENCHMARK], 1, [Define this to build an performance benchmark - WARNING: You cannot use the resulting binary for normal operation])
448 if test "$enable_capabilities" != "no"; then
449 AC_CHECK_HEADERS(sys/capability.h,capheader=yes,capheader=no)
450 AC_CHECK_HEADERS(sys/prctl.h,prctlheader=yes,prctlheader=no)
452 if test "$capheader" = "yes"; then
453 if test "$prctlheader" = "yes"; then
454 AC_CHECK_LIB(cap,cap_get_proc,caplib=yes,caplib=no)
455 if test "$caplib" = "yes"; then
457 AC_DEFINE_UNQUOTED([USE_CAPABILITIES], 1, [Define to use capabilities])
464 if test "$enable_capabilities" = "yes"; then
465 if test "$OPTION_CAP" != "yes"; then
466 AC_MSG_ERROR([** This system doesn't support capabilities. **])
472 if test "$enable_deprecated" = "no"; then
473 DEPRECATED_FLAGS="-DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED"
478 AC_SUBST(DEPRECATED_FLAGS)
480 AC_MSG_CHECKING(for necessary scratching skillz)
483 AC_DEFINE_UNQUOTED([USE_DIAL], 1, [ Define this. ])
485 dnl if test "$enable_bigdial" = yes; then
486 dnl AC_DEFINE(USE_DIAL)
487 dnl AC_DEFINE(USE_BIG_BUTTONS)
490 if test "$enable_legacy" = yes; then
491 AC_DEFINE_UNQUOTED([ENABLE_TX_LEGACY], 1, [Define this to enable support for old tX set files])
495 dnl if test "$enable_dga2" = yes; then
496 dnl AC_DEFINE(USE_DGA2)
501 AC_MSG_CHECKING(for GNOME)
502 AC_MSG_RESULT([in progress])
503 AC_CHECK_PROG(gnomepresent, gnome-name-service, yes, no)
504 if test "$gnomepresent" = yes; then
505 AC_CHECK_PROG(gnomeconfig, gnome-config, yes)
506 if test "$gnomeconfig" = yes; then
507 gnomedatadir=`gnome-config --datadir`
509 gnomedatadir=${datadir}
511 AC_SUBST(gnomedatadir)
512 AC_MSG_RESULT([Found GNOME - installing terminatorX.desktop.])
515 AC_MSG_RESULT([GNOME not found.])
517 AM_CONDITIONAL(GNOMEpresent, test "$gnomepresent" = yes)
520 dnl Detecting libxml. Based on dia's test.
523 if test "$enable_libxml2" != "no"; then
524 if ! $found_libxml; then
525 AC_CHECK_PROG(XML2_CONFIG, xml2-config, xml2-config)
526 if test "x$XML2_CONFIG" != x ; then
527 AC_MSG_CHECKING(for libxml >= 2.3.9)
528 vers=`$XML2_CONFIG --version | sed -e "s/libxml //" | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
530 if test "$vers" -ge 2003009; then
533 XML_LIBS="`$XML2_CONFIG --libs`"
534 XML_CFLAGS="`$XML2_CONFIG --cflags`"
544 AC_CHECK_PROG(XML_CONFIG, xml-config, xml-config)
545 if test "x$XML_CONFIG" != x ; then
546 AC_MSG_CHECKING(for libxml >= 1.8.14)
547 vers=`$XML_CONFIG --version | sed -e "s/libxml //" | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
549 dnl 1.18.14 is required for xmlUseNewParser()
550 if test "$vers" -ge 1008014; then
553 XML_LIBS="`$XML_CONFIG --libs`"
554 XML_CFLAGS="`$XML_CONFIG --cflags`"
561 if ! $found_libxml; then
562 AC_MSG_ERROR([** libxml not found. Get libxml(2) at http://www.libxml.org **])
568 if test "$prefix" != "NONE"; then
569 xml_man="\\\"$datadir/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
571 xml_man="\\\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
574 if test "$with_docdir" != ""; then
575 xml_man="\\\"$with_docdir/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\\\""
578 if test "$enable_lrdf" != "no"; then
579 AC_MSG_CHECKING(for liblrdf >= 0.2.4)
580 LRDF_VERS=`$PKG_CONFIG --modversion lrdf | sed -e "s/libxml //" | awk 'BEGIN {FS=".";} { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
581 if test "$LRDF_VERS" -ge 2004; then
585 lrdf_cflags=`$PKG_CONFIG --cflags lrdf`
586 if test "$lrdf_cflags" != ""; then
587 CFLAGS="$CFLAGS $lrdf_cflags"
589 lrdf_libs=`$PKG_CONFIG --libs lrdf`
590 LIBS="$LIBS $lrdf_libs"
591 AC_DEFINE_UNQUOTED([USE_LRDF], 1, [Define to compile librdf support])
592 OPTION_AUDIOFILE="yes"
600 AC_PATH_PROG(SK_CONFIG,scrollkeeper-config,no)
601 if test x$SK_CONFIG = xno; then
602 AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net)
605 dnl Now Check for Xlibs - I do this here as other tests fail if these run earlier
610 AC_SUBST(X_EXTRA_LIBS)
612 AC_SUBST(x_libraries)
614 GTK_LIBS="$GTK_LIBS $X_LIBS"
615 AC_CHECK_LIB(X11, XOpenDisplay,, AC_MSG_ERROR([** X11-libs not installed or broken **]), $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS)
616 AC_CHECK_LIB(Xext, XShmQueryExtension,, AC_MSG_ERROR([** Xext-libs not installed or broken **]), $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS)
617 AC_CHECK_LIB(Xi, XOpenDevice,, AC_MSG_ERROR([** XInput not installed or broken **]), $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS)
618 AC_CHECK_LIB(Xxf86dga, XF86DGAQueryExtension,, AC_MSG_ERROR([** DGA not installed or broken **]), $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS)
619 if test "$enable_dga2" = yes; then
620 AC_CHECK_LIB(Xxf86dga, XDGASelectInput,, AC_MSG_ERROR([** DGA2 not installed. Try using dga1 instead. **]), $X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS)
623 CFLAGS="$XML_CFLAGS $CFLAGS -DXML_MANUAL=$xml_man"
624 LIBS="$XML_LIBS $LIBS"
628 gnome-support/Makefile
629 gnome-support/terminatorX.keys
632 doc/terminatorX-manual/Makefile
633 doc/terminatorX-manual/C/Makefile
638 echo "$option support: $option_val"
639 if test "$option_val" != "yes"; then
640 echo " - If you want $option support get $option from"
641 echo " - $option_url"
642 echo " - and reconfigure terminatorX"
647 echo configured terminatorX for:
648 echo ---------------------------
651 option=sox; option_val=$OPTION_SOX; option_url=http://sox.sourceforge.net/
654 echo "mpg123 support: $OPTION_MPG123"
655 if test "$OPTION_MPG123" = "no"; then
656 echo " - If you want mpg123 support get either mpg321 from"
657 echo " - http://mpg321.sourceforge.net/ or mpg123 from"
658 echo " - http://www.mpg123.de/"
659 echo " - and reconfigure terminatorX"
663 option=oss; option_val=$OPTION_OSS; option_url=http://www.kernel.org
666 option=alsa; option_val=$OPTION_ALSA; option_url=http://www.alsa-project.org
669 option=jack; option_val=$OPTION_JACK; option_url=http://jackit.sourceforge.net
672 option=mad; option_val=$OPTION_MAD; option_url=http://www.mars.org/home/rob/proj/mpeg/
675 option=ogg123; option_val=$OPTION_OGG123; option_url=http://www.xiph.org/ogg/vorbis/
678 option=libvorbis; option_val=$OPTION_VORBIS; option_url=http://www.xiph.org/ogg/vorbis/
681 option=audiofile; option_val=$OPTION_AUDIOFILE; option_url=http://www.68k.org/~michael/audiofile/
684 option="ALSA (MIDI in)"; option_val=$OPTION_ALSAMIDI; option_url=http://www.alsa-project.org
687 option=lrdf; option_val=$OPTION_LRDF; option_url=http://plugin.org.uk/releases/lrdf/
690 echo "legacy files support: $OPTION_LEGACY"
691 echo "builtin-wav support: $OPTION_WAV"
692 echo "enhanced scheduling support: $OPTION_SCHEDULER"
693 echo "capabilities support: $OPTION_CAP"
694 echo "GNOME support: $OPTION_GNOME"
696 echo You can now run \'make\' to compile terminatorX