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]))
50 AC_USE_SYSTEM_EXTENSIONS
53 AC_PATH_PROG([M4], [m4])
54 test -z "$M4" && AC_MSG_ERROR(
55 [The m4 macro processor is required to build this package])
60 executables="recv filter audioc write afh play"
61 ########################################################################### osl
63 LIB_ARG_WITH([osl], [-losl])
65 AC_CHECK_HEADER(osl.h, [], [HAVE_OSL=no])
66 AC_CHECK_LIB([osl], [osl_open_table], [], [HAVE_OSL=no])
69 ######################################################################## lopsub
71 AC_PATH_PROG([LOPSUBGEN], [lopsubgen])
72 test -z "$LOPSUBGEN" && HAVE_LOPSUB=no
74 LIB_ARG_WITH([lopsub], [-llopsub])
75 AC_CHECK_HEADER(lopsub.h, [], [HAVE_LOPSUB=no])
76 AC_CHECK_LIB([lopsub], [lls_merge], [], [HAVE_LOPSUB=no])
77 if test $HAVE_LOPSUB = no; then AC_MSG_ERROR([
78 The lopsub library is required to build this software, but
79 the above checks indicate it is not installed on your system.
80 Run the following command to download a copy.
81 git clone git://git.tuebingen.mpg.de/lopsub.git
82 Install the library, then run this configure script again.
85 LIB_SUBST_FLAGS([lopsub])
87 ######################################################################## openssl
90 LIB_ARG_WITH([openssl], [-lssl -lcrypto])
91 AC_CHECK_HEADER(openssl/ssl.h, [], [HAVE_OPENSSL=no])
92 AC_CHECK_LIB([crypto], [RAND_bytes], [], [HAVE_OPENSSL=no])
93 LIB_SUBST_FLAGS(openssl)
94 if test $HAVE_OPENSSL = yes; then
95 AC_CHECK_LIB([crypto], [RSA_set0_key],
96 AC_DEFINE([HAVE_RSA_SET0_KEY], [1], [openssl-1.1]))
99 ######################################################################### gcrypt
102 LIB_ARG_WITH([gcrypt], [-lgcrypt])
103 AC_CHECK_HEADER(gcrypt.h, [], [HAVE_GCRYPT=no])
104 AC_CHECK_LIB([gcrypt], [gcry_randomize], [], [HAVE_GCRYPT=no])
105 LIB_SUBST_FLAGS(gcrypt)
107 ######################################################################### crypto
108 AC_ARG_ENABLE(cryptolib, [AS_HELP_STRING(--enable-cryptolib=lib, [
109 Force using crypto library "lib". This package requires either
110 openssl or libgcrypt being installed. Possible values for "lib"
111 are thus "openssl" and "gcrypt". If this option is not given,
112 openssl is tried first. If openssl was not found, gcrypt is
115 CRYPTOLIB="$enable_cryptolib"
116 case "$enable_cryptolib" in
118 test $HAVE_OPENSSL = no && AC_MSG_ERROR(openssl not found)
119 crypto_ldflags="$openssl_ldflags"
122 test $HAVE_GCRYPT = no && AC_MSG_ERROR(gcrypt not found)
123 crypto_ldflags="$gcrypt_ldflags"
127 if test $HAVE_GCRYPT = yes; then
129 crypto_ldflags="$gcrypt_ldflags"
131 if test $HAVE_OPENSSL = yes; then
133 crypto_ldflags="$openssl_ldflags"
137 AC_MSG_ERROR([invalid value "$enable_cryptolib" for --enable-cryptolib])
140 AC_SUBST(crypto_ldflags)
141 ########################################################################## iconv
144 AC_SEARCH_LIBS([libiconv_open], [iconv],
145 [iconv_ldflags="$LIBS"],
148 AC_SUBST(iconv_ldflags)
149 AC_MSG_CHECKING([whether iconv needs const char ** cast])
154 size_t iconv(iconv_t cd, const char **inbuf,
155 size_t *inbytesleft, char **outbuf,
156 size_t *outbytesleft);
159 [cast='(const char **)'; msg=yes],
162 AC_DEFINE_UNQUOTED(ICONV_CAST, $cast, [cast for second arg to iconv()])
165 ########################################################################### ucred
166 AC_CHECK_TYPE([struct ucred], [
167 AC_DEFINE(HAVE_UCRED, 1, define to 1 you have struct ucred)
169 #include <sys/types.h>
170 #include <sys/socket.h>
172 ########################################################################### curses
174 LIB_ARG_WITH([curses], [])
176 AC_CHECK_HEADER(curses.h, [], [HAVE_CURSES=no])
177 AC_SEARCH_LIBS([initscr], [ncursesw curses], [], [HAVE_CURSES=no])
178 curses_ldflags="$curses_ldflags $LIBS"
179 LIB_SUBST_FLAGS(curses)
181 ########################################################################### ip_mreqn
182 AC_CHECK_TYPE([struct ip_mreqn], [
183 AC_DEFINE(HAVE_IP_MREQN, 1, define to 1 if you have struct ip_mreqn)
188 ########################################################################### ogg
190 LIB_ARG_WITH([ogg], [-logg])
192 AC_CHECK_HEADERS([ogg/ogg.h], [], [HAVE_OGG=no])
193 AC_CHECK_LIB([ogg], [ogg_stream_init], [], [HAVE_OGG=no])
194 AC_CHECK_LIB([ogg], [ogg_stream_flush_fill], [
195 AC_DEFINE(HAVE_OGG_STREAM_FLUSH_FILL, 1, [libogg >= 1.3.0])])
198 ######################################################################### vorbis
200 LIB_ARG_WITH([vorbis], [-lvorbis -lvorbisfile])
202 AC_CHECK_HEADERS([vorbis/codec.h], [], [HAVE_VORBIS=no])
203 AC_CHECK_LIB([vorbis], [vorbis_info_init], [], [HAVE_VORBIS=no])
204 LIB_SUBST_FLAGS(vorbis)
206 ######################################################################### speex
208 LIB_ARG_WITH([speex], [-lspeex])
210 AC_CHECK_HEADERS([speex/speex.h], [], [HAVE_SPEEX=no])
211 AC_CHECK_LIB([speex], [speex_decoder_init], [], [HAVE_SPEEX=no])
212 LIB_SUBST_FLAGS(speex)
214 ######################################################################### opus
216 LIB_ARG_WITH([opus], [-lopus])
218 AC_CHECK_HEADERS([opus/opus.h], [], [HAVE_OPUS=no])
219 AC_CHECK_LIB([opus], [opus_multistream_decode], [], [HAVE_OPUS=no])
220 LIB_SUBST_FLAGS(opus)
222 ########################################################################### flac
224 LIB_ARG_WITH([flac], [-lFLAC -lm])
226 AC_CHECK_HEADER(FLAC/stream_decoder.h, [], HAVE_FLAC=no)
227 AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_init_file], [], HAVE_FLAC=no)
228 LIB_SUBST_FLAGS(flac)
231 # some helper functions for codecs which use the ogg container format
232 AC_DEFUN([NEED_OGG_OBJECTS], [{
233 test "$HAVE_OGG" = 'yes' -a \( \
234 "$HAVE_VORBIS" = 'yes' \
235 -o "$HAVE_SPEEX" = 'yes' \
236 -o "$HAVE_OPUS" = 'yes' \
237 -o "$HAVE_FLAC" = 'yes' \
240 AC_DEFUN([NEED_VORBIS_OBJECTS], [{
241 test "$HAVE_OGG" = 'yes' -a "$HAVE_VORBIS" = 'yes'
243 AC_DEFUN([NEED_SPEEX_OBJECTS], [{
244 test "$HAVE_OGG" = 'yes' -a "$HAVE_SPEEX" = 'yes'
246 AC_DEFUN([NEED_OPUS_OBJECTS], [{
247 test "$HAVE_OGG" = 'yes' -a "$HAVE_OPUS" = 'yes'
249 AC_DEFUN([NEED_FLAC_OBJECTS], [{
250 test "$HAVE_OGG" = 'yes' -a "$HAVE_FLAC" = 'yes'
252 ########################################################################### faad
254 LIB_ARG_WITH([faad], [-lfaad -lmp4ff])
256 AC_CHECK_HEADER(neaacdec.h, [], HAVE_FAAD=no)
257 AC_CHECK_HEADER(mp4ff.h, [], HAVE_FAAD=no)
258 AC_CHECK_LIB([faad], [NeAACDecOpen], [], HAVE_FAAD=no)
259 AC_CHECK_LIB([mp4ff], [mp4ff_meta_get_artist], [], HAVE_FAAD=no)
260 LIB_SUBST_FLAGS(faad)
262 ########################################################################### mad
264 LIB_ARG_WITH([mad], [-lmad])
266 AC_CHECK_HEADER(mad.h, [], HAVE_MAD=no)
267 AC_CHECK_LIB([mad], [mad_stream_init], [], HAVE_MAD=no)
270 ###################################################################### libid3tag
272 LIB_ARG_WITH([id3tag], [-lid3tag -lz])
274 AC_CHECK_HEADER(id3tag.h, [], HAVE_ID3TAG=no)
275 AC_CHECK_LIB([id3tag], [id3_file_fdopen], [], HAVE_ID3TAG=no)
276 LIB_SUBST_FLAGS(id3tag)
278 ########################################################################### oss
280 LIB_ARG_WITH([oss], [])
281 AC_CHECK_HEADER(sys/soundcard.h, [HAVE_OSS=yes], [HAVE_OSS=no])
282 AC_CHECK_LIB(ossaudio, _oss_ioctl, [oss_ldflags="$oss_ldflags -lossaudio"], [])
285 ########################################################################### alsa
287 LIB_ARG_WITH([alsa], [-lasound])
289 AC_CHECK_HEADER(alsa/asoundlib.h, [], HAVE_ALSA=no)
290 AC_CHECK_LIB([asound], [snd_pcm_open], [], HAVE_ALSA=no)
291 LIB_SUBST_FLAGS(alsa)
293 ######################################################################### pthread
295 LIB_ARG_WITH([pthread], [-lpthread])
297 AC_CHECK_HEADER(pthread.h, [], HAVE_PTHREAD=no)
298 AC_CHECK_LIB([pthread], [pthread_create], [], HAVE_PTHREAD=no)
299 LIB_SUBST_FLAGS(pthread)
301 ########################################################################### libao
303 LIB_ARG_WITH([ao], [-lao])
305 AC_CHECK_HEADER(ao/ao.h, [], HAVE_AO=no)
306 AC_CHECK_LIB([ao], [ao_initialize], [], HAVE_AO=no)
309 AC_DEFUN([NEED_AO_OBJECTS], [{ test $HAVE_AO = yes -a $HAVE_PTHREAD = yes; }])
310 ######################################################################## readline
312 AC_SEARCH_LIBS([tgetent], [tinfo curses terminfo termcap])
313 LIB_ARG_WITH([readline], [-lreadline $LIBS])
315 AC_CHECK_HEADER([readline/readline.h], [], [HAVE_READLINE=no])
316 AC_CHECK_LIB([readline], [rl_free_keymap], [], HAVE_READLINE=no)
319 [AC_DEFINE(RL_FREE_KEYMAP_DECLARED, 1, readline >= 6.3)],
323 #include <readline/readline.h>
326 LIB_SUBST_FLAGS(readline)
328 ############################################################# libsamplerate
330 LIB_ARG_WITH([samplerate], [-lsamplerate])
332 AC_CHECK_HEADER(samplerate.h, [], HAVE_SAMPLERATE=no)
333 AC_CHECK_LIB([samplerate], [src_process], [], HAVE_SAMPLERATE=no)
334 LIB_SUBST_FLAGS(samplerate)
336 ######################################################################### server
337 if test -n "$CRYPTOLIB" && test $HAVE_OSL = yes; then
339 executables="$executables server"
340 server_errlist_objs="
379 if test "$CRYPTOLIB" = openssl; then
380 server_errlist_objs="$server_errlist_objs crypt"
382 server_errlist_objs="$server_errlist_objs gcrypt"
384 NEED_OGG_OBJECTS() && server_errlist_objs="$server_errlist_objs ogg_afh_common"
385 NEED_VORBIS_OBJECTS() && server_errlist_objs="$server_errlist_objs ogg_afh"
386 NEED_SPEEX_OBJECTS() && server_errlist_objs="$server_errlist_objs spx_afh spx_common"
387 NEED_OPUS_OBJECTS() && server_errlist_objs="$server_errlist_objs opus_afh opus_common"
388 NEED_FLAC_OBJECTS && server_errlist_objs="$server_errlist_objs flac_afh"
389 if test $HAVE_FAAD = yes; then
390 server_errlist_objs="$server_errlist_objs aac_afh"
392 server_objs="$server_errlist_objs"
393 AC_SUBST(server_objs, add_dot_o($server_objs))
397 ############################################################# client
398 if test -n "$CRYPTOLIB"; then
400 executables="$executables client"
401 client_errlist_objs="
417 if test "$CRYPTOLIB" = openssl; then
418 client_errlist_objs="$client_errlist_objs crypt"
420 client_errlist_objs="$client_errlist_objs gcrypt"
422 if test $HAVE_READLINE = yes; then
423 client_errlist_objs="$client_errlist_objs interactive"
425 client_objs="$client_errlist_objs"
426 AC_SUBST(client_objs, add_dot_o($client_errlist_objs))
430 ############################################################# audiod
431 if test -n "$CRYPTOLIB"; then
433 executables="$executables audiod"
434 audiod_audio_formats="wma"
435 audiod_errlist_objs="$audiod_errlist_objs
473 if test "$CRYPTOLIB" = openssl; then
474 audiod_errlist_objs="$audiod_errlist_objs crypt"
476 audiod_errlist_objs="$audiod_errlist_objs gcrypt"
478 NEED_VORBIS_OBJECTS && {
479 audiod_errlist_objs="$audiod_errlist_objs oggdec_filter"
480 audiod_audio_formats="$audiod_audio_formats ogg"
482 NEED_SPEEX_OBJECTS && {
483 audiod_errlist_objs="$audiod_errlist_objs spxdec_filter spx_common"
484 audiod_audio_formats="$audiod_audio_formats spx"
486 NEED_OPUS_OBJECTS && {
487 audiod_errlist_objs="$audiod_errlist_objs opusdec_filter opus_common"
488 audiod_audio_formats="$audiod_audio_formats opus"
490 NEED_FLAC_OBJECTS && {
491 audiod_errlist_objs="$audiod_errlist_objs flacdec_filter"
492 audiod_audio_formats="$audiod_audio_formats flac"
494 if test $HAVE_FAAD = yes; then
495 audiod_errlist_objs="$audiod_errlist_objs aacdec_filter"
496 audiod_audio_formats="$audiod_audio_formats aac"
498 if test $HAVE_MAD = yes; then
499 audiod_audio_formats="$audiod_audio_formats mp3"
500 audiod_errlist_objs="$audiod_errlist_objs mp3dec_filter"
502 if test $HAVE_OSS = yes; then
503 audiod_errlist_objs="$audiod_errlist_objs oss_write"
505 if test $HAVE_ALSA = yes; then
506 audiod_errlist_objs="$audiod_errlist_objs alsa_write"
509 audiod_errlist_objs="$audiod_errlist_objs ao_write"
511 if test $HAVE_SAMPLERATE = yes; then
512 audiod_errlist_objs="$audiod_errlist_objs resample_filter check_wav"
514 audiod_objs="$audiod_errlist_objs"
515 AC_SUBST(audiod_objs, add_dot_o($audiod_objs))
517 enum="$(for i in $audiod_audio_formats; do printf "AUDIO_FORMAT_${i}, " | tr '[a-z]' '[A-Z]'; done)"
518 AC_DEFINE_UNQUOTED(AUDIOD_AUDIO_FORMATS_ENUM, $enum NUM_AUDIO_FORMATS,
519 enum of audio formats supported by audiod)
520 names="$(for i in $audiod_audio_formats; do printf \"$i\",' ' ; done)"
521 AC_DEFINE_UNQUOTED(AUDIOD_AUDIO_FORMAT_ARRAY, $names, array of audio formats supported by audiod)
525 ########################################################################### mixer
526 if test $HAVE_OSS = yes -o $HAVE_ALSA = yes; then
528 executables="$executables mixer"
529 mixer_errlist_objs="mixer exec string fd version"
530 if test $HAVE_OSS = yes; then
531 mixer_errlist_objs="$mixer_errlist_objs oss_mix"
533 if test $HAVE_ALSA = yes; then
534 mixer_errlist_objs="$mixer_errlist_objs alsa_mix"
536 mixer_objs="$mixer_errlist_objs"
537 AC_SUBST(mixer_objs, add_dot_o($mixer_objs))
540 AC_MSG_WARN([no mixer support])
542 ########################################################################### gui
543 if test $HAVE_CURSES = yes; then
545 executables="$executables gui"
559 gui_objs="$gui_errlist_objs"
560 AC_SUBST(gui_objs, add_dot_o($gui_objs))
563 AC_MSG_WARN([no curses lib, cannot build para_gui])
565 ######################################################################## filter
566 filter_errlist_objs="
590 NEED_VORBIS_OBJECTS && filter_errlist_objs="$filter_errlist_objs oggdec_filter"
591 NEED_SPEEX_OBJECTS && filter_errlist_objs="$filter_errlist_objs spxdec_filter spx_common"
592 NEED_OPUS_OBJECTS && filter_errlist_objs="$filter_errlist_objs opusdec_filter opus_common"
593 NEED_FLAC_OBJECTS && filter_errlist_objs="$filter_errlist_objs flacdec_filter"
594 if test $HAVE_FAAD = yes; then
595 filter_errlist_objs="$filter_errlist_objs aacdec_filter"
597 if test $HAVE_MAD = yes; then
598 filter_errlist_objs="$filter_errlist_objs mp3dec_filter"
600 if test $HAVE_SAMPLERATE = yes; then
601 filter_errlist_objs="$filter_errlist_objs resample_filter check_wav"
603 filter_objs="$filter_errlist_objs"
605 AC_SUBST(filter_objs, add_dot_o($filter_objs))
606 ########################################################################## recv
627 NEED_OGG_OBJECTS && recv_errlist_objs="$recv_errlist_objs ogg_afh_common"
628 NEED_VORBIS_OBJECTS && recv_errlist_objs="$recv_errlist_objs ogg_afh"
629 NEED_SPEEX_OBJECTS && recv_errlist_objs="$recv_errlist_objs spx_afh spx_common"
630 NEED_OPUS_OBJECTS && recv_errlist_objs="$recv_errlist_objs opus_afh opus_common"
631 NEED_FLAC_OBJECTS && recv_errlist_objs="$recv_errlist_objs flac_afh"
633 if test $HAVE_FAAD = yes; then
634 recv_errlist_objs="$recv_errlist_objs aac_afh"
636 recv_objs="$recv_errlist_objs"
637 AC_SUBST(recv_objs, add_dot_o($recv_objs))
638 ########################################################################### afh
639 audio_format_handlers="mp3 wma"
651 NEED_OGG_OBJECTS && afh_errlist_objs="$afh_errlist_objs ogg_afh_common"
652 NEED_VORBIS_OBJECTS && {
653 afh_errlist_objs="$afh_errlist_objs ogg_afh"
654 audio_format_handlers="$audio_format_handlers ogg"
656 NEED_SPEEX_OBJECTS && {
657 afh_errlist_objs="$afh_errlist_objs spx_afh spx_common"
658 audio_format_handlers="$audio_format_handlers spx"
660 NEED_OPUS_OBJECTS && {
661 afh_errlist_objs="$afh_errlist_objs opus_afh opus_common"
662 audio_format_handlers="$audio_format_handlers opus"
664 NEED_FLAC_OBJECTS && {
665 afh_errlist_objs="$afh_errlist_objs flac_afh"
666 audio_format_handlers="$audio_format_handlers flac"
668 if test $HAVE_FAAD = yes; then
669 afh_errlist_objs="$afh_errlist_objs aac_afh"
670 audio_format_handlers="$audio_format_handlers aac"
673 afh_objs="$afh_errlist_objs"
675 AC_SUBST(afh_objs, add_dot_o($afh_objs))
676 ########################################################################## play
709 NEED_OGG_OBJECTS && play_errlist_objs="$play_errlist_objs ogg_afh_common"
710 NEED_VORBIS_OBJECTS && {
711 play_errlist_objs="$play_errlist_objs oggdec_filter ogg_afh"
713 NEED_SPEEX_OBJECTS && {
714 play_errlist_objs="$play_errlist_objs spxdec_filter spx_afh spx_common"
717 play_errlist_objs="$play_errlist_objs
722 NEED_FLAC_OBJECTS && {
723 play_errlist_objs="$play_errlist_objs flacdec_filter flac_afh"
725 if test $HAVE_FAAD = yes; then
726 play_errlist_objs="$play_errlist_objs aac_afh aacdec_filter"
728 if test $HAVE_MAD = yes; then
729 play_errlist_objs="$play_errlist_objs mp3dec_filter"
731 if test $HAVE_OSS = yes; then
732 play_errlist_objs="$play_errlist_objs oss_write"
734 if test $HAVE_ALSA = yes; then
735 play_errlist_objs="$play_errlist_objs alsa_write"
738 play_errlist_objs="$play_errlist_objs ao_write"
740 if test $HAVE_READLINE = yes; then
741 play_errlist_objs="$play_errlist_objs interactive"
743 if test $HAVE_SAMPLERATE = yes; then
744 play_errlist_objs="$play_errlist_objs resample_filter check_wav"
747 play_objs="$play_errlist_objs"
748 AC_SUBST(play_objs, add_dot_o($play_objs))
749 ######################################################################### write
765 write_errlist_objs="$write_errlist_objs ao_write"
767 if test $HAVE_OSS = yes; then
768 write_errlist_objs="$write_errlist_objs oss_write"
770 if test $HAVE_ALSA = yes; then
771 write_errlist_objs="$write_errlist_objs alsa_write"
773 write_objs="$write_errlist_objs"
774 AC_SUBST(write_objs, add_dot_o($write_objs))
775 ######################################################################## audioc
776 audioc_errlist_objs="
783 if test $HAVE_READLINE = yes; then
784 audioc_errlist_objs="$audioc_errlist_objs
791 audioc_objs="$audioc_errlist_objs"
792 AC_SUBST(audioc_objs, add_dot_o($audioc_objs))
793 ################################################################## status items
795 status_items="basename status num_played mtime bitrate frequency file_size
796 status_flags format score techinfo afs_mode
797 attributes_txt decoder_flags audiod_status play_time attributes_bitmap
798 offset seconds_total stream_start current_time audiod_uptime image_id
799 lyrics_id duration directory lyrics_name image_name path hash channels
800 last_played num_chunks chunk_time amplification artist title year album
801 comment max_chunk_size"
804 for i in $status_items; do
805 result="$result SI_$(echo $i | tr 'a-z' 'A-Z'), "
807 AC_DEFINE_UNQUOTED(STATUS_ITEM_ENUM, [$result],
808 [enum of all status items])
811 for i in $status_items; do
812 result="$result \"$i\", "
814 AC_DEFINE_UNQUOTED(STATUS_ITEM_ARRAY, [$result],
815 [char * array of all status items])
817 AC_DEFINE_UNQUOTED(AUDIO_FORMAT_HANDLERS, "$audio_format_handlers",
818 [formats supported by para_server and para_afh])
820 AC_SUBST(executables)
824 paraslash configuration:
825 ~~~~~~~~~~~~~~~~~~~~~~~~
826 crypto lib: ${CRYPTOLIB:-[none]}
827 unix socket credentials: $have_ucred
828 readline (interactive CLIs): $HAVE_READLINE
829 id3 version 2 support: $HAVE_ID3TAG
831 audio format handlers: $audio_format_handlers
833 para_server: $build_server
835 para_mixer: $build_mixer
836 para_client: $build_client
837 para_audiod: $build_audiod