3 AC_INIT([paraslash], [m4_esyscmd_s(./GIT-VERSION-GEN)],
4 [maan@tuebingen.mpg.de], [], [http://people.tuebingen.mpg.de/maan/paraslash/])
5 AC_CONFIG_HEADERS([config.h])
7 AC_CONFIG_FILES([Makefile])
8 AC_DEFUN([add_dot_o],[$(for i in $@; do printf "$i.o "; done)])
9 AC_DEFUN([LIB_ARG_WITH], [
10 AC_ARG_WITH($1-headers, [AS_HELP_STRING(--with-$1-headers=dir,
11 [look for $1 headers in dir])])
12 AC_ARG_WITH($1-libs, [AS_HELP_STRING(--with-$1-libs=dir,
13 [look for $1 libraries in dir])])
14 if test -n "$with_$1_headers"; then
15 $1_cppflags="-I$with_$1_headers"
16 CPPFLAGS="$CPPFLAGS $$1_cppflags"
18 if test -n "$with_$1_libs"; then
19 $1_ldflags="-L$with_$1_libs $2"
23 LDFLAGS="$LDFLAGS $$1_ldflags"
26 AC_DEFUN([STASH_FLAGS], [
27 OLD_CPPFLAGS="$CPPFLAGS"
28 OLD_LDFLAGS="$LDFLAGS"
32 AC_DEFUN([UNSTASH_FLAGS], [
33 CPPFLAGS="$OLD_CPPFLAGS"
34 LDFLAGS="$OLD_LDFLAGS"
37 AC_DEFUN([LIB_SUBST_FLAGS], [
38 if test "$HAVE_[]m4_toupper([$1])" = 'yes'; then
39 AC_DEFINE(HAVE_[]m4_toupper([$1]), 1,
40 define to 1 to turn on $1 support)
45 AC_SUBST(HAVE_[]m4_toupper([$1]))
49 AC_DEFUN([REQUIRE_EXECUTABLE], [
50 AC_PATH_PROG(m4_toupper([$1]), [$1])
51 test -z "$m4_toupper([$1])" && AC_MSG_ERROR(
52 [$1 is required to build this package])
55 AC_USE_SYSTEM_EXTENSIONS
60 REQUIRE_EXECUTABLE([bison])
61 REQUIRE_EXECUTABLE([flex])
62 REQUIRE_EXECUTABLE([m4])
64 executables="recv filter audioc write afh play"
65 ########################################################################### osl
67 LIB_ARG_WITH([osl], [-losl])
69 AC_CHECK_HEADER(osl.h, [], [HAVE_OSL=no])
70 AC_CHECK_LIB([osl], [osl_open_table], [], [HAVE_OSL=no])
73 ######################################################################## lopsub
75 AC_PATH_PROG([LOPSUBGEN], [lopsubgen])
76 test -z "$LOPSUBGEN" && HAVE_LOPSUB=no
78 LIB_ARG_WITH([lopsub], [-llopsub])
79 AC_CHECK_HEADER(lopsub.h, [], [HAVE_LOPSUB=no])
80 AC_CHECK_LIB([lopsub], [lls_merge], [], [HAVE_LOPSUB=no])
81 if test $HAVE_LOPSUB = no; then AC_MSG_ERROR([
82 The lopsub library is required to build this software, but
83 the above checks indicate it is not installed on your system.
84 Run the following command to download a copy.
85 git clone git://git.tuebingen.mpg.de/lopsub.git
86 Install the library, then run this configure script again.
89 LIB_SUBST_FLAGS([lopsub])
91 ######################################################################## openssl
94 LIB_ARG_WITH([openssl], [-lssl -lcrypto])
95 AC_CHECK_HEADER(openssl/ssl.h, [], [HAVE_OPENSSL=no])
96 AC_CHECK_LIB([crypto], [RAND_bytes], [], [HAVE_OPENSSL=no])
97 LIB_SUBST_FLAGS(openssl)
98 if test $HAVE_OPENSSL = yes; then
100 AC_CHECK_DECL([RSA_set0_key], [], [], [#include <openssl/rsa.h>])
101 AC_CHECK_LIB([crypto], [RSA_set0_key], [], [])
102 if test "$ac_cv_have_decl_RSA_set0_key" != "$ac_cv_lib_crypto_RSA_set0_key"; then
103 AC_MSG_ERROR([openssl header/library mismatch])
105 test "$ac_cv_have_decl_RSA_set0_key" = yes &&
106 AC_DEFINE([HAVE_RSA_SET0_KEY], [1], [openssl >= 1.1])
109 ######################################################################### gcrypt
112 LIB_ARG_WITH([gcrypt], [-lgcrypt])
113 AC_CHECK_HEADER(gcrypt.h, [], [HAVE_GCRYPT=no])
114 AC_CHECK_LIB([gcrypt], [gcry_randomize], [], [HAVE_GCRYPT=no])
115 LIB_SUBST_FLAGS(gcrypt)
117 ######################################################################### crypto
118 AC_ARG_ENABLE(cryptolib, [AS_HELP_STRING(--enable-cryptolib=lib, [
119 Force using crypto library "lib". This package requires either
120 openssl or libgcrypt being installed. Possible values for "lib"
121 are thus "openssl" and "gcrypt". If this option is not given,
122 openssl is tried first. If openssl was not found, gcrypt is
125 CRYPTOLIB="$enable_cryptolib"
126 case "$enable_cryptolib" in
128 test $HAVE_OPENSSL = no && AC_MSG_ERROR(openssl not found)
129 crypto_ldflags="$openssl_ldflags"
132 test $HAVE_GCRYPT = no && AC_MSG_ERROR(gcrypt not found)
133 crypto_ldflags="$gcrypt_ldflags"
137 if test $HAVE_GCRYPT = yes; then
139 crypto_ldflags="$gcrypt_ldflags"
141 if test $HAVE_OPENSSL = yes; then
143 crypto_ldflags="$openssl_ldflags"
147 AC_MSG_ERROR([invalid value "$enable_cryptolib" for --enable-cryptolib])
150 AC_SUBST(crypto_ldflags)
151 ########################################################################## iconv
154 AC_SEARCH_LIBS([libiconv_open], [iconv],
155 [iconv_ldflags="$LIBS"],
158 AC_SUBST(iconv_ldflags)
159 AC_MSG_CHECKING([whether iconv needs const char ** cast])
164 size_t iconv(iconv_t cd, const char **inbuf,
165 size_t *inbytesleft, char **outbuf,
166 size_t *outbytesleft);
169 [cast='(const char **)'; msg=yes],
172 AC_DEFINE_UNQUOTED(ICONV_CAST, $cast, [cast for second arg to iconv()])
175 ########################################################################### ucred
176 AC_CHECK_TYPE([struct ucred], [
177 AC_DEFINE(HAVE_UCRED, 1, define to 1 you have struct ucred)
179 #include <sys/types.h>
180 #include <sys/socket.h>
182 ################################################################### FNM_EXTMATCH
183 AC_MSG_CHECKING(for extended wildcard pattern matching)
184 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
187 unsigned n = FNM_EXTMATCH;
188 ]])], [have_fnm_extmatch=yes], [have_fnm_extmatch=no])
189 AC_MSG_RESULT($have_fnm_extmatch)
190 if test $have_fnm_extmatch = yes; then
191 AC_DEFINE(HAVE_FNM_EXTMATCH, 1, define to 1 if FNM_EXTMATCH is defined)
193 ########################################################################### curses
195 LIB_ARG_WITH([curses], [])
197 AC_CHECK_HEADER(curses.h, [], [HAVE_CURSES=no])
198 AC_SEARCH_LIBS([initscr], [ncursesw curses], [], [HAVE_CURSES=no])
199 curses_ldflags="$curses_ldflags $LIBS"
200 LIB_SUBST_FLAGS(curses)
202 ########################################################################### ip_mreqn
203 AC_CHECK_TYPE([struct ip_mreqn], [
204 AC_DEFINE(HAVE_IP_MREQN, 1, define to 1 if you have struct ip_mreqn)
209 ########################################################################### ogg
211 LIB_ARG_WITH([ogg], [-logg])
213 AC_CHECK_HEADERS([ogg/ogg.h], [], [HAVE_OGG=no])
214 AC_CHECK_LIB([ogg], [ogg_stream_init], [], [HAVE_OGG=no])
215 AC_CHECK_LIB([ogg], [ogg_stream_flush_fill], [
216 AC_DEFINE(HAVE_OGG_STREAM_FLUSH_FILL, 1, [libogg >= 1.3.0])])
219 ######################################################################### vorbis
221 LIB_ARG_WITH([vorbis], [-lvorbis -lvorbisfile])
223 AC_CHECK_HEADERS([vorbis/codec.h], [], [HAVE_VORBIS=no])
224 AC_CHECK_LIB([vorbis], [vorbis_info_init], [], [HAVE_VORBIS=no])
225 LIB_SUBST_FLAGS(vorbis)
227 ######################################################################### speex
229 LIB_ARG_WITH([speex], [-lspeex])
231 AC_CHECK_HEADERS([speex/speex.h], [], [HAVE_SPEEX=no])
232 AC_CHECK_LIB([speex], [speex_decoder_init], [], [HAVE_SPEEX=no])
233 LIB_SUBST_FLAGS(speex)
235 ######################################################################### opus
237 LIB_ARG_WITH([opus], [-lopus])
239 AC_CHECK_HEADERS([opus/opus.h], [], [HAVE_OPUS=no])
240 AC_CHECK_LIB([opus], [opus_multistream_decode], [], [HAVE_OPUS=no])
241 LIB_SUBST_FLAGS(opus)
243 ########################################################################### flac
245 LIB_ARG_WITH([flac], [-lFLAC -lm])
247 AC_CHECK_HEADER(FLAC/stream_decoder.h, [], HAVE_FLAC=no)
248 AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_init_file], [], HAVE_FLAC=no)
249 LIB_SUBST_FLAGS(flac)
252 # some helper functions for codecs which use the ogg container format
253 AC_DEFUN([NEED_OGG_OBJECTS], [{
254 test "$HAVE_OGG" = 'yes' -a \( \
255 "$HAVE_VORBIS" = 'yes' \
256 -o "$HAVE_SPEEX" = 'yes' \
257 -o "$HAVE_OPUS" = 'yes' \
258 -o "$HAVE_FLAC" = 'yes' \
261 AC_DEFUN([NEED_VORBIS_OBJECTS], [{
262 test "$HAVE_OGG" = 'yes' -a "$HAVE_VORBIS" = 'yes'
264 AC_DEFUN([NEED_SPEEX_OBJECTS], [{
265 test "$HAVE_OGG" = 'yes' -a "$HAVE_SPEEX" = 'yes'
267 AC_DEFUN([NEED_OPUS_OBJECTS], [{
268 test "$HAVE_OGG" = 'yes' -a "$HAVE_OPUS" = 'yes'
270 AC_DEFUN([NEED_FLAC_OBJECTS], [{
271 test "$HAVE_OGG" = 'yes' -a "$HAVE_FLAC" = 'yes'
273 ########################################################################### faad
275 LIB_ARG_WITH([faad], [-lfaad -lmp4ff])
277 AC_CHECK_HEADER(neaacdec.h, [], HAVE_FAAD=no)
278 AC_CHECK_HEADER(mp4ff.h, [], HAVE_FAAD=no)
279 AC_CHECK_LIB([faad], [NeAACDecOpen], [], HAVE_FAAD=no)
280 AC_CHECK_LIB([mp4ff], [mp4ff_meta_get_artist], [], HAVE_FAAD=no)
281 LIB_SUBST_FLAGS(faad)
283 ########################################################################### mad
285 LIB_ARG_WITH([mad], [-lmad])
287 AC_CHECK_HEADER(mad.h, [], HAVE_MAD=no)
288 AC_CHECK_LIB([mad], [mad_stream_init], [], HAVE_MAD=no)
291 ###################################################################### libid3tag
293 LIB_ARG_WITH([id3tag], [-lid3tag -lz])
295 AC_CHECK_HEADER(id3tag.h, [], HAVE_ID3TAG=no)
296 AC_CHECK_LIB([id3tag], [id3_file_fdopen], [], HAVE_ID3TAG=no)
297 LIB_SUBST_FLAGS(id3tag)
299 ########################################################################### oss
301 LIB_ARG_WITH([oss], [])
302 AC_CHECK_HEADER(sys/soundcard.h, [HAVE_OSS=yes], [HAVE_OSS=no])
303 AC_CHECK_LIB(ossaudio, _oss_ioctl, [oss_ldflags="$oss_ldflags -lossaudio"], [])
306 ########################################################################### alsa
308 LIB_ARG_WITH([alsa], [-lasound])
310 AC_CHECK_HEADER(alsa/asoundlib.h, [], HAVE_ALSA=no)
311 AC_CHECK_LIB([asound], [snd_pcm_open], [], HAVE_ALSA=no)
312 LIB_SUBST_FLAGS(alsa)
314 ######################################################################### pthread
316 LIB_ARG_WITH([pthread], [-lpthread])
318 AC_CHECK_HEADER(pthread.h, [], HAVE_PTHREAD=no)
319 AC_CHECK_LIB([pthread], [pthread_create], [], HAVE_PTHREAD=no)
320 LIB_SUBST_FLAGS(pthread)
322 ########################################################################### libao
324 LIB_ARG_WITH([ao], [-lao])
326 AC_CHECK_HEADER(ao/ao.h, [], HAVE_AO=no)
327 AC_CHECK_LIB([ao], [ao_initialize], [], HAVE_AO=no)
330 AC_DEFUN([NEED_AO_OBJECTS], [{ test $HAVE_AO = yes -a $HAVE_PTHREAD = yes; }])
331 ######################################################################## readline
333 AC_SEARCH_LIBS([tgetent], [tinfo curses terminfo termcap])
334 LIB_ARG_WITH([readline], [-lreadline $LIBS])
336 AC_CHECK_HEADER([readline/readline.h], [], [HAVE_READLINE=no])
337 AC_CHECK_LIB([readline], [rl_free_keymap], [], HAVE_READLINE=no)
340 [AC_DEFINE(RL_FREE_KEYMAP_DECLARED, 1, readline >= 6.3)],
344 #include <readline/readline.h>
347 LIB_SUBST_FLAGS(readline)
349 ############################################################# libsamplerate
351 LIB_ARG_WITH([samplerate], [-lsamplerate])
353 AC_CHECK_HEADER(samplerate.h, [], HAVE_SAMPLERATE=no)
354 AC_CHECK_LIB([samplerate], [src_process], [], HAVE_SAMPLERATE=no)
355 LIB_SUBST_FLAGS(samplerate)
357 ######################################################################### server
358 if test -n "$CRYPTOLIB" && test $HAVE_OSL = yes && test -n "$BISON" && \
359 test -n "$FLEX"; then
361 executables="$executables server"
362 server_errlist_objs="
403 if test "$CRYPTOLIB" = openssl; then
404 server_errlist_objs="$server_errlist_objs openssl"
406 server_errlist_objs="$server_errlist_objs gcrypt"
408 NEED_OGG_OBJECTS() && server_errlist_objs="$server_errlist_objs ogg_afh_common"
409 NEED_VORBIS_OBJECTS() && server_errlist_objs="$server_errlist_objs ogg_afh"
410 NEED_SPEEX_OBJECTS() && server_errlist_objs="$server_errlist_objs spx_afh spx_common"
411 NEED_OPUS_OBJECTS() && server_errlist_objs="$server_errlist_objs opus_afh opus_common"
412 NEED_FLAC_OBJECTS && server_errlist_objs="$server_errlist_objs flac_afh"
413 if test $HAVE_FAAD = yes; then
414 server_errlist_objs="$server_errlist_objs aac_afh"
416 server_objs="$server_errlist_objs"
417 AC_SUBST(server_objs, add_dot_o($server_objs))
421 ############################################################# client
422 if test -n "$CRYPTOLIB"; then
424 executables="$executables client"
425 client_errlist_objs="
442 if test "$CRYPTOLIB" = openssl; then
443 client_errlist_objs="$client_errlist_objs openssl"
445 client_errlist_objs="$client_errlist_objs gcrypt"
447 if test $HAVE_READLINE = yes; then
448 client_errlist_objs="$client_errlist_objs interactive"
450 client_objs="$client_errlist_objs"
451 AC_SUBST(client_objs, add_dot_o($client_errlist_objs))
455 ############################################################# audiod
456 if test -n "$CRYPTOLIB"; then
458 executables="$executables audiod"
459 audiod_audio_formats="wma"
460 audiod_errlist_objs="$audiod_errlist_objs
499 if test "$CRYPTOLIB" = openssl; then
500 audiod_errlist_objs="$audiod_errlist_objs openssl"
502 audiod_errlist_objs="$audiod_errlist_objs gcrypt"
504 NEED_VORBIS_OBJECTS && {
505 audiod_errlist_objs="$audiod_errlist_objs oggdec_filter"
506 audiod_audio_formats="$audiod_audio_formats ogg"
508 NEED_SPEEX_OBJECTS && {
509 audiod_errlist_objs="$audiod_errlist_objs spxdec_filter spx_common"
510 audiod_audio_formats="$audiod_audio_formats spx"
512 NEED_OPUS_OBJECTS && {
513 audiod_errlist_objs="$audiod_errlist_objs opusdec_filter opus_common"
514 audiod_audio_formats="$audiod_audio_formats opus"
516 NEED_FLAC_OBJECTS && {
517 audiod_errlist_objs="$audiod_errlist_objs flacdec_filter"
518 audiod_audio_formats="$audiod_audio_formats flac"
520 if test $HAVE_FAAD = yes; then
521 audiod_errlist_objs="$audiod_errlist_objs aacdec_filter"
522 audiod_audio_formats="$audiod_audio_formats aac"
524 if test $HAVE_MAD = yes; then
525 audiod_audio_formats="$audiod_audio_formats mp3"
526 audiod_errlist_objs="$audiod_errlist_objs mp3dec_filter"
528 if test $HAVE_OSS = yes; then
529 audiod_errlist_objs="$audiod_errlist_objs oss_write"
531 if test $HAVE_ALSA = yes; then
532 audiod_errlist_objs="$audiod_errlist_objs alsa_write"
535 audiod_errlist_objs="$audiod_errlist_objs ao_write"
537 if test $HAVE_SAMPLERATE = yes; then
538 audiod_errlist_objs="$audiod_errlist_objs resample_filter check_wav"
540 audiod_objs="$audiod_errlist_objs"
541 AC_SUBST(audiod_objs, add_dot_o($audiod_objs))
543 enum="$(for i in $audiod_audio_formats; do printf "AUDIO_FORMAT_${i}, " | tr '[a-z]' '[A-Z]'; done)"
544 AC_DEFINE_UNQUOTED(AUDIOD_AUDIO_FORMATS_ENUM, $enum NUM_AUDIO_FORMATS,
545 enum of audio formats supported by audiod)
546 names="$(for i in $audiod_audio_formats; do printf \"$i\",' ' ; done)"
547 AC_DEFINE_UNQUOTED(AUDIOD_AUDIO_FORMAT_ARRAY, $names, array of audio formats supported by audiod)
551 ########################################################################### mixer
552 if test $HAVE_OSS = yes -o $HAVE_ALSA = yes; then
554 executables="$executables mixer"
555 mixer_errlist_objs="mixer exec string fd lsu version"
556 if test $HAVE_OSS = yes; then
557 mixer_errlist_objs="$mixer_errlist_objs oss_mix"
559 if test $HAVE_ALSA = yes; then
560 mixer_errlist_objs="$mixer_errlist_objs alsa_mix"
562 mixer_objs="$mixer_errlist_objs"
563 AC_SUBST(mixer_objs, add_dot_o($mixer_objs))
566 AC_MSG_WARN([no mixer support])
568 ########################################################################### gui
569 if test $HAVE_CURSES = yes; then
571 executables="$executables gui"
586 gui_objs="$gui_errlist_objs"
587 AC_SUBST(gui_objs, add_dot_o($gui_objs))
590 AC_MSG_WARN([no curses lib, cannot build para_gui])
592 ######################################################################## filter
593 filter_errlist_objs="
618 NEED_VORBIS_OBJECTS && filter_errlist_objs="$filter_errlist_objs oggdec_filter"
619 NEED_SPEEX_OBJECTS && filter_errlist_objs="$filter_errlist_objs spxdec_filter spx_common"
620 NEED_OPUS_OBJECTS && filter_errlist_objs="$filter_errlist_objs opusdec_filter opus_common"
621 NEED_FLAC_OBJECTS && filter_errlist_objs="$filter_errlist_objs flacdec_filter"
622 if test $HAVE_FAAD = yes; then
623 filter_errlist_objs="$filter_errlist_objs aacdec_filter"
625 if test $HAVE_MAD = yes; then
626 filter_errlist_objs="$filter_errlist_objs mp3dec_filter"
628 if test $HAVE_SAMPLERATE = yes; then
629 filter_errlist_objs="$filter_errlist_objs resample_filter check_wav"
631 filter_objs="$filter_errlist_objs"
633 AC_SUBST(filter_objs, add_dot_o($filter_objs))
634 ########################################################################## recv
655 NEED_OGG_OBJECTS && recv_errlist_objs="$recv_errlist_objs ogg_afh_common"
656 NEED_VORBIS_OBJECTS && recv_errlist_objs="$recv_errlist_objs ogg_afh"
657 NEED_SPEEX_OBJECTS && recv_errlist_objs="$recv_errlist_objs spx_afh spx_common"
658 NEED_OPUS_OBJECTS && recv_errlist_objs="$recv_errlist_objs opus_afh opus_common"
659 NEED_FLAC_OBJECTS && recv_errlist_objs="$recv_errlist_objs flac_afh"
661 if test $HAVE_FAAD = yes; then
662 recv_errlist_objs="$recv_errlist_objs aac_afh"
664 recv_objs="$recv_errlist_objs"
665 AC_SUBST(recv_objs, add_dot_o($recv_objs))
666 ########################################################################### afh
667 audio_format_handlers="mp3 wma"
679 NEED_OGG_OBJECTS && afh_errlist_objs="$afh_errlist_objs ogg_afh_common"
680 NEED_VORBIS_OBJECTS && {
681 afh_errlist_objs="$afh_errlist_objs ogg_afh"
682 audio_format_handlers="$audio_format_handlers ogg"
684 NEED_SPEEX_OBJECTS && {
685 afh_errlist_objs="$afh_errlist_objs spx_afh spx_common"
686 audio_format_handlers="$audio_format_handlers spx"
688 NEED_OPUS_OBJECTS && {
689 afh_errlist_objs="$afh_errlist_objs opus_afh opus_common"
690 audio_format_handlers="$audio_format_handlers opus"
692 NEED_FLAC_OBJECTS && {
693 afh_errlist_objs="$afh_errlist_objs flac_afh"
694 audio_format_handlers="$audio_format_handlers flac"
696 if test $HAVE_FAAD = yes; then
697 afh_errlist_objs="$afh_errlist_objs aac_afh"
698 audio_format_handlers="$audio_format_handlers aac"
701 afh_objs="$afh_errlist_objs"
703 AC_SUBST(afh_objs, add_dot_o($afh_objs))
704 ########################################################################## play
738 NEED_OGG_OBJECTS && play_errlist_objs="$play_errlist_objs ogg_afh_common"
739 NEED_VORBIS_OBJECTS && {
740 play_errlist_objs="$play_errlist_objs oggdec_filter ogg_afh"
742 NEED_SPEEX_OBJECTS && {
743 play_errlist_objs="$play_errlist_objs spxdec_filter spx_afh spx_common"
746 play_errlist_objs="$play_errlist_objs
751 NEED_FLAC_OBJECTS && {
752 play_errlist_objs="$play_errlist_objs flacdec_filter flac_afh"
754 if test $HAVE_FAAD = yes; then
755 play_errlist_objs="$play_errlist_objs aac_afh aacdec_filter"
757 if test $HAVE_MAD = yes; then
758 play_errlist_objs="$play_errlist_objs mp3dec_filter"
760 if test $HAVE_OSS = yes; then
761 play_errlist_objs="$play_errlist_objs oss_write"
763 if test $HAVE_ALSA = yes; then
764 play_errlist_objs="$play_errlist_objs alsa_write"
767 play_errlist_objs="$play_errlist_objs ao_write"
769 if test $HAVE_READLINE = yes; then
770 play_errlist_objs="$play_errlist_objs interactive"
772 if test $HAVE_SAMPLERATE = yes; then
773 play_errlist_objs="$play_errlist_objs resample_filter check_wav"
776 play_objs="$play_errlist_objs"
777 AC_SUBST(play_objs, add_dot_o($play_objs))
778 ######################################################################### write
794 write_errlist_objs="$write_errlist_objs ao_write"
796 if test $HAVE_OSS = yes; then
797 write_errlist_objs="$write_errlist_objs oss_write"
799 if test $HAVE_ALSA = yes; then
800 write_errlist_objs="$write_errlist_objs alsa_write"
802 write_objs="$write_errlist_objs"
803 AC_SUBST(write_objs, add_dot_o($write_objs))
804 ######################################################################## audioc
805 audioc_errlist_objs="
813 if test $HAVE_READLINE = yes; then
814 audioc_errlist_objs="$audioc_errlist_objs
821 audioc_objs="$audioc_errlist_objs"
822 AC_SUBST(audioc_objs, add_dot_o($audioc_objs))
824 AC_DEFINE_UNQUOTED(AUDIO_FORMAT_HANDLERS, "$audio_format_handlers",
825 [formats supported by para_server and para_afh])
826 AC_SUBST(executables)
830 paraslash configuration:
831 ~~~~~~~~~~~~~~~~~~~~~~~~
832 crypto lib: ${CRYPTOLIB:-[none]}
833 unix socket credentials: $have_ucred
834 readline (interactive CLIs): $HAVE_READLINE
835 id3 version 2 support: $HAVE_ID3TAG
837 audio format handlers: $audio_format_handlers
839 para_server: $build_server
841 para_mixer: $build_mixer
842 para_client: $build_client
843 para_audiod: $build_audiod