~ubuntu-branches/debian/jessie/fluidsynth/jessie

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
dnl --------------------------------------------------
dnl configure.in for FluidSynth
dnl --------------------------------------------------

AC_INIT(src/fluidsynth.c)

dnl *** NOTE *** Don't forget to update library version below also

FLUIDSYNTH_VERSION_MAJOR=1
FLUIDSYNTH_VERSION_MINOR=1
FLUIDSYNTH_VERSION_MICRO=6
FLUIDSYNTH_VERSION=$FLUIDSYNTH_VERSION_MAJOR.$FLUIDSYNTH_VERSION_MINOR.$FLUIDSYNTH_VERSION_MICRO

AC_SUBST(FLUIDSYNTH_VERSION_MAJOR)
AC_SUBST(FLUIDSYNTH_VERSION_MINOR)
AC_SUBST(FLUIDSYNTH_VERSION_MICRO)
AC_SUBST(FLUIDSYNTH_VERSION)

AM_INIT_AUTOMAKE(fluidsynth, $FLUIDSYNTH_VERSION)

dnl Convert to quoted string for version.h substitution
FLUIDSYNTH_VERSION="\"$VERSION\""

dnl *** NOTICE ***
dnl Update library version upon each release (follow these steps in order)
dnl if any source code changes: lt_revision++
dnl if any interfaces added/removed/changed: lt_current++ and lt_revision=0
dnl if any interfaces have been added: lt_age++
dnl if any interfaces have been removed/changed (compatibility broken): lt_age=0

m4_define([lt_current], [6])
m4_define([lt_revision], [2])
m4_define([lt_age], [5])

LT_VERSION_INFO="lt_current:lt_revision:lt_age"
AC_SUBST(LT_VERSION_INFO)

AM_CONFIG_HEADER(src/config.h)
AC_CONFIG_MACRO_DIR([m4])

CFLAGS="$CFLAGS"

dnl Check for programs
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
dnl AC_PROG_RANLIB
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET

dnl Check for libraries
AC_CHECK_LIB(pthread, pthread_create)

dnl Check for header files
AC_HEADER_STDC
AC_CHECK_HEADERS(string.h stdlib.h stdio.h math.h errno.h stdarg.h unistd.h sys/mman.h sys/types.h sys/time.h sys/stat.h fcntl.h sys/socket.h netinet/in.h netinet/tcp.h arpa/inet.h limits.h pthread.h signal.h windows.h)

dnl Compiler and machine specs
AC_C_INLINE
AC_C_BIGENDIAN

LIBFLUID_LIBS="-lm"

dnl Machine specific checks and defines
case "${host_os}" in
darwin*)
  AC_DEFINE(DARWIN, 1, [Define if building for Mac OS X Darwin])
  ;;
mingw*)
  mingw32_support="yes"
  CFLAGS="$CFLAGS -mms-bitfields"
  AC_DEFINE(MINGW32, 1, [Define if using the MinGW32 environment])
  LIBFLUID_LIBS="-ldsound -lwinmm -lws2_32"
  LIBFLUID_CPPFLAGS="-DFLUIDSYNTH_DLL_EXPORTS"
  LIBFLUID_LDFLAGS="-no-undefined"
  FLUID_CPPFLAGS="-DFLUIDSYNTH_NOT_A_DLL"
  ;;
os2*)
  LDFLAGS="$LDFLAGS -Zbin-files"
  LIBFLUID_LDFLAGS="-no-undefined"
  ;;
solaris*) 
  LDFLAGS="$LDFLAGS -lnsl -lsocket" 
  ;; 
esac

AC_SUBST(LIBFLUID_LIBS)
AC_SUBST(LIBFLUID_CPPFLAGS)
AC_SUBST(LIBFLUID_LDFLAGS)
AC_SUBST(FLUID_CPPFLAGS)

dnl Check for GNU LD
AC_LIB_PROG_LD_GNU
AM_CONDITIONAL(GNU_LD_SUPPORT, test "x$with_gnu_ld" = "xyes")

AM_CONDITIONAL(MINGW32_SUPPORT, test "$mingw32_support" == "yes")

AC_ARG_ENABLE(double, AS_HELP_STRING([--enable-double],
	[double floating point for dsp (default=float)]),
  ENABLE_FLOAT_SAMPLES=$enableval,
  ENABLE_FLOAT_SAMPLES=yes)
if test "x$ENABLE_FLOAT_SAMPLES" = "xyes" ; then 
  AC_DEFINE(WITH_FLOAT, 1, [Define to do all DSP in single floating point precision])
fi

AC_ARG_ENABLE(profiling, AS_HELP_STRING([--enable-profiling],
	[profile the dsp code (default=no)]),
  profiling_flag=$enableval,
  profiling_flag=no)
if test "x$profiling_flag" = "xyes" ; then 
  AC_DEFINE(WITH_PROFILING, 1, [Define to profile the DSP code])
fi

AC_ARG_ENABLE(ladspa, AS_HELP_STRING([--enable-ladspa],
	[Include LADSPA effect unit (default=no)]),
  ENABLE_LADSPA=$enableval,
  ENABLE_LADSPA=no)
if test "x$ENABLE_LADSPA" = "xyes" ; then 
   AC_DEFINE(LADSPA, 1, [Include the LADSPA Fx unit])
   dnl LADSPA plugins are loaded as dynamic libraries.
   dnl In this case, -ldl is required for linking.   
   AC_CHECK_LIB(dl, dlopen)
fi


AC_ARG_ENABLE(trap-on-fpe, AS_HELP_STRING([--enable-trap-on-fpe],
	[Enable SIGFPE trap on Floating Point Exceptions (debugging)]),
	ENABLE_TRAPONFPE=$enableval, ENABLE_TRAPONFPE=no)

if test "$ENABLE_TRAPONFPE" = "yes"; then
  AC_DEFINE(TRAP_ON_FPE, 1, [Define to enable SIGFPE assertions])
fi

AC_ARG_ENABLE(fpe-check, AS_HELP_STRING([--enable-fpe-check],
	[Enable Floating Point Exception checks and debug messages]),
	ENABLE_FPECHECK=$enableval, ENABLE_FPECHECK=no)

if test "$ENABLE_FPECHECK" = "yes"; then
  AC_DEFINE(FPE_CHECK, 1, [Define to enable FPE checks])
fi

AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],
	[enable debugging (default=no)]),
  ENABLE_DEBUG=$enableval)

# Those are only valid for GCC
if test "$GCC" = yes; then
  if test "$ENABLE_DEBUG" = "yes"; then
    CFLAGS="${CFLAGS} ${FCCFLAGS} -g -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wno-cast-qual"
    AC_DEFINE(DEBUG, 1, [Define to activate debugging message]) 
  else
    CFLAGS="${CFLAGS} ${FCCFLAGS} -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual"
    AC_DEFINE(DEBUG, 0, [Define to activate debugging message])
  fi
fi

dnl Assert that glib and gthread are available
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.6.5 gthread-2.0 >= 2.6.5)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)

dnl - Check for DBUS support

AC_ARG_ENABLE(dbus-support, AS_HELP_STRING([--disable-dbus-support],
      [Do not compile with support for D-Bus (default=auto)]),
  enable_dbus_support=$enableval, enable_dbus_support="yes")

if test "x$enable_dbus_support" != "xno"; then
  PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0.0, DBUS_SUPPORT=1, DBUS_SUPPORT=0)
else
  DBUS_SUPPORT=0
fi

if test "$DBUS_SUPPORT" = "1"; then
  AC_DEFINE(DBUS_SUPPORT, 1, [Define to enable D-Bus support])
fi
AM_CONDITIONAL(DBUS_SUPPORT, test "$DBUS_SUPPORT" = "1")
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)


dnl Check for libsndfile support

AC_ARG_ENABLE(libsndfile-support, AS_HELP_STRING([--disable-libsndfile-support],
      [Do not compile libsndfile support (default=auto)]),
  enable_libsndfile_support=$enableval, enable_libsndfile_support="yes")

if test "x$enable_libsndfile_support" != "xno"; then
  PKG_CHECK_MODULES(LIBSNDFILE, sndfile >= 1.0.0, LIBSNDFILE_SUPPORT=1, LIBSNDFILE_SUPPORT=0)
else
  LIBSNDFILE_SUPPORT=0
fi

if test "$LIBSNDFILE_SUPPORT" = "1"; then
  PKG_CHECK_MODULES(LIBSNDFILE_VORBIS, sndfile >= 1.0.18, LIBSNDFILE_HASVORBIS=1, LIBSNDFILE_HASVORBIS=0)
  AC_DEFINE(LIBSNDFILE_SUPPORT, 1, [Define to enable libsndfile support])
  if test "$LIBSNDFILE_HASVORBIS" = "1"; then
    AC_DEFINE(LIBSNDFILE_HASVORBIS, 1, [libsndfile has ogg vorbis support])
  fi
else
  LIBSNDFILE_HASVORBIS=0
fi

AM_CONDITIONAL(LIBSNDFILE_SUPPORT, test "$LIBSNDFILE_SUPPORT" = "1")
AM_CONDITIONAL(LIBSNDFILE_HASVORBIS, test "$LIBSNDFILE_HASVORBIS" = "1")
AC_SUBST(LIBSNDFILE_CFLAGS)
AC_SUBST(LIBSNDFILE_LIBS)


dnl 
dnl Check support for all the drivers
dnl


dnl - Sound file support check
AUFILE_SUPPORT=0

AC_ARG_ENABLE(aufile-support,
  [  --disable-aufile-support Do not compile support for sound file output],
  enable_aufile_support=no)

if test "x${enable_aufile_support}" != "xno"; then
  AUFILE_SUPPORT=1
  AC_DEFINE(AUFILE_SUPPORT, 1, [Define to activate sound output to files])
fi


dnl - Check for PulseAudio support

AC_ARG_ENABLE(pulse-support, AS_HELP_STRING([--disable-pulse-support],
      [Do not compile PulseAudio support (default=auto)]),
  enable_pulse_support=$enableval, enable_pulse_support="yes")

if test "x$enable_pulse_support" != "xno"; then
  PKG_CHECK_MODULES(PULSE, libpulse-simple >= 0.9.8, PULSE_SUPPORT=1, PULSE_SUPPORT=0)
else
  PULSE_SUPPORT=0
fi

if test "$PULSE_SUPPORT" = "1"; then
  AC_DEFINE(PULSE_SUPPORT, 1, [Define to enable PulseAudio driver])
fi
AM_CONDITIONAL(PULSE_SUPPORT, test "$PULSE_SUPPORT" = "1")
AC_SUBST(PULSE_CFLAGS)
AC_SUBST(PULSE_LIBS)


dnl - Check support for ALSA

AC_ARG_ENABLE(alsa-support, AS_HELP_STRING([--disable-alsa-support],
      [Do not compile ALSA support (default=auto)]),
  enable_alsa_support=$enableval, enable_alsa_support="yes")

if test "x$enable_alsa_support" != "xno"; then
  PKG_CHECK_MODULES(ALSA, alsa >= 0.9.1, ALSA_SUPPORT=1, ALSA_SUPPORT=0)
else
  ALSA_SUPPORT=0
fi

if test "$ALSA_SUPPORT" = "1"; then
  AC_DEFINE(ALSA_SUPPORT, 1, [Define to enable ALSA driver])
fi
AM_CONDITIONAL(ALSA_SUPPORT, test "$ALSA_SUPPORT" = "1")
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)


dnl - Check support for PortAudio

AC_ARG_ENABLE(portaudio-support, AS_HELP_STRING([--disable-portaudio-support],
      [Do not compile PortAudio support (default=auto)]),
  enable_portaudio_support=$enableval, enable_portaudio_support="yes")

if test "x$enable_portaudio_support" != "xno"; then
  PKG_CHECK_MODULES(PORTAUDIO, portaudio-2.0 >= 19, PORTAUDIO_SUPPORT=1,
                    PORTAUDIO_SUPPORT=0)
else
  PORTAUDIO_SUPPORT=0
fi

if test "$PORTAUDIO_SUPPORT" = "1"; then
  AC_DEFINE(PORTAUDIO_SUPPORT, 1, [Define to enable PortAudio driver])
fi
AM_CONDITIONAL(PORTAUDIO_SUPPORT, test "$PORTAUDIO_SUPPORT" = "1")
AC_SUBST(PORTAUDIO_CFLAGS)
AC_SUBST(PORTAUDIO_LIBS)


dnl - Check support for OSS audio
AC_OSS_AUDIO
AM_CONDITIONAL(OSS_SUPPORT, test "$OSS_SUPPORT" = "1")


dnl - Check support for MidiShare
AC_MIDISHARE


dnl - Check support for JACK
AC_ARG_ENABLE(jack-support, AS_HELP_STRING([--disable-jack-support],
	[disable JACK support (default=auto)]),
  enable_jack=$enableval, enable_jack="yes")

if test "x$enable_jack" != "xno"; then
  PKG_CHECK_MODULES(JACK, jack, JACK_SUPPORT=1, JACK_SUPPORT=0)
else
  JACK_SUPPORT=0
fi

if test "$JACK_SUPPORT" = "1"; then
  AC_DEFINE(JACK_SUPPORT, 1, [Define to enable JACK driver])
fi
AM_CONDITIONAL(JACK_SUPPORT, test "$JACK_SUPPORT" = "1")
AC_SUBST(JACK_CFLAGS)
AC_SUBST(JACK_LIBS)


dnl
dnl - Check support for CoreAudio
dnl
AC_CHECK_HEADER(CoreAudio/AudioHardware.h, COREAUDIO_FOUND="yes",
                COREAUDIO_FOUND="no")
AC_ARG_ENABLE(coreaudio, AS_HELP_STRING([--disable-coreaudio],
	[disable CoreAudio support (default=auto)]),
  enable_coreaudio=$enableval, enable_coreaudio="yes")

COREAUDIO_SUPPORT=0
if test "$enable_coreaudio" = "yes" -a "$COREAUDIO_FOUND" = "yes"; then
  AC_DEFINE(COREAUDIO_SUPPORT, 1, [whether or not we are supporting CoreAudio])
  COREAUDIO_SUPPORT=1
  COREAUDIO_LIBS="-Wl,-framework,CoreAudio"
fi

AM_CONDITIONAL(COREAUDIO_SUPPORT, test "$COREAUDIO_SUPPORT" = "1")
AC_SUBST(COREAUDIO_LIBS)

dnl
dnl - Check support for CoreMIDI
dnl
AC_CHECK_HEADER(CoreMIDI/MIDIServices.h, COREMIDI_FOUND="yes",
                COREMIDI_FOUND="no")
AC_ARG_ENABLE(coremidi, AS_HELP_STRING([--disable-coremidi],
	[disable CoreMIDI support (default=auto)]),
  enable_coremidi=$enableval, enable_coremidi="yes")

COREMIDI_SUPPORT=0
if test "$enable_coremidi" = "yes" -a "$COREMIDI_FOUND" = "yes"; then
  AC_DEFINE(COREMIDI_SUPPORT, 1, [whether or not we are supporting CoreMIDI])
  COREMIDI_SUPPORT=1
  COREMIDI_LIBS="-Wl,-framework,CoreMIDI"
fi
AM_CONDITIONAL(COREMIDI_SUPPORT, test "$COREMIDI_SUPPORT" = "1")
AC_SUBST(COREMIDI_LIBS)

dnl
dnl - Check support for DART
dnl
AC_CHECK_HEADER(os2me.h, DART_FOUND="yes", DART_FOUND="no", -)
AC_ARG_ENABLE(dart, AS_HELP_STRING([--disable-dart],
    [disable DART support (default=auto)]),
  enable_dart=$enableval, enable_dart="yes")

DART_SUPPORT=0
if test "$enable_dart" = "yes" -a "$DART_FOUND" = "yes"; then
  AC_DEFINE(DART_SUPPORT, 1, [whether or not we are supporting DART])
  DART_SUPPORT=1
fi

AM_CONDITIONAL(DART_SUPPORT, test "$DART_SUPPORT" = "1")
AC_SUBST(DART_CFLAGS)
AC_SUBST(DART_LIBS)

dnl
dnl Check for readline support (Josh Green 2003-06-10)
dnl
AC_ARG_WITH(readline,
  [  --without-readline      disable readline lib line editing (default=auto)],
  with_readline=$withval, with_readline="yes")

if test "$with_readline" != "no"; then
  AM_PATH_READLINE(FOUND_READLINE=1, FOUND_READLINE=0)
fi

dnl
dnl The following script checks for ncurses support.
dnl I copied and adapted it from DataDisplayDebugger's (DDD)
dnl configure.in, written by Andreas Zeller <zeller@gnu.org>.
dnl

dnl Look for the tgetent() function - either in libtermcap, libcurses
dnl
dnl On FreeBSD systems, `-lmytinfo' is preferred to `-lncurses'.
dnl Reported by Vincenzo Capuano <vcapuano@esoc.esa.de>
dnl
dnl On Linux ELF systems, `-lncurses' is preferred to `-ltermcap'.
dnl Reported by jdassen@wi.leidenuniv.nl (J.H.M. Dassen)
dnl
WITH_READLINE=0
have_termcap=false
if test "${FOUND_READLINE}" = "1"; then
  _termlib="mytinfo ncurses curses termcap terminfo termlib"
  for termlib in ${_termlib}; do
    AC_CHECK_LIB(${termlib}, tgetent,
      [READLINE_LIBS="$READLINE_LIBS -l${termlib}"; have_termcap=true; break])
  done
fi

if test "x${have_termcap}" = "xtrue"; then
  AC_DEFINE(WITH_READLINE, 1, [Define to use the readline library for line editing])
  WITH_READLINE=1
fi

dnl
dnl lash stuff
dnl
AC_ARG_ENABLE(lash, AS_HELP_STRING([--disable-lash],
	[disable LASH support (default=auto)]),
    fluid_enable_lash=$enableval,
    fluid_enable_lash="yes")

if test "$fluid_enable_lash" = "yes"; then
  PKG_CHECK_MODULES(LASH, lash-1.0 >= 0.3, LASH_FOUND="yes", LASH_FOUND="no")
  AC_SUBST(LASH_CFLAGS)
  AC_SUBST(LASH_LIBS)

  if test "$LASH_FOUND" = "yes"; then
     AC_DEFINE(HAVE_LASH, 1, [whether or not we are supporting lash])
  fi
else
  LASH_FOUND="no"
fi
AM_CONDITIONAL(LASH_SUPPORT, test "$LASH_FOUND" = "yes")

dnl
dnl ladcca stuff (depricated by lash and will be removed in the future)
dnl
AC_ARG_ENABLE(ladcca, AS_HELP_STRING([--disable-ladcca],
	[disable LADCCA support (default=auto)]),
    fluid_enable_ladcca=$enableval,
    fluid_enable_ladcca="yes")

if test "$fluid_enable_ladcca" = "yes" -a "$LASH_FOUND" = "no"; then
  PKG_CHECK_MODULES(LADCCA, ladcca-1.0 >= 0.3, LADCCA_FOUND="yes", LADCCA_FOUND="no")
  AC_SUBST(LADCCA_CFLAGS)
  AC_SUBST(LADCCA_LIBS)

  if test "$LADCCA_FOUND" = "yes"; then
     AC_DEFINE(HAVE_LADCCA, 1, [whether or not we are supporting ladcca])
  fi
else
  LADCCA_FOUND="no"
fi
AM_CONDITIONAL(LADCCA_SUPPORT, test "$LADCCA_FOUND" = "yes")



AC_OUTPUT([
	Makefile
    cmake_admin/Makefile
	src/Makefile
	src/config_win32.h
	doc/Makefile
	include/Makefile
	include/fluidsynth/Makefile
	include/fluidsynth/version.h
	fluidsynth.pc
	fluidsynth.spec])

echo
echo "***************************************************************"
echo "The autotools build system is deprecated and might be removed  "
echo "in a future version. Please use the CMake build system instead."
echo "***************************************************************"
echo "Summary:"

if test "${LIBSNDFILE_SUPPORT}" = "1"; then
  if test "${LIBSNDFILE_HASVORBIS}" = "1"; then
    echo "libsndfile:            yes (with ogg vorbis support)"
  else
    echo "libsndfile:            yes"
  fi
else 
  echo "libsndfile:            no (raw audio file rendering only)"
fi

if test "${DBUS_SUPPORT}" = "1"; then
  echo "D-Bus:                 yes"
else 
  echo "D-Bus:                 no"
fi

if test "${PULSE_SUPPORT}" = "1"; then
  echo "PulseAudio:            yes"
else 
  echo "PulseAudio:            no"
fi

if test "${JACK_SUPPORT}" = "1"; then
  echo "JACK:                  yes"
else
  echo "JACK:                  no"
fi

if test "${ALSA_SUPPORT}" = "1"; then
  echo "ALSA:                  yes"
else 
  echo "ALSA:                  no"
fi

if test "${PORTAUDIO_SUPPORT}" = "1"; then
  echo "PortAudio:             yes"
else 
  echo "PortAudio:             no"
fi

if test "${OSS_SUPPORT}" = "1"; then
  echo "OSS:                   yes"
else 
  echo "OSS:                   no"
fi

if test "${MIDISHARE_SUPPORT}" = "1"; then
  echo "MidiShare:             yes"
else
  echo "MidiShare:             no"
fi

if test "${COREAUDIO_SUPPORT}" = "1"; then
  echo "CoreAudio:             yes"
else
  echo "CoreAudio:             no"
fi

if test "${COREMIDI_SUPPORT}" = "1"; then
  echo "CoreMIDI:              yes"
else
  echo "CoreMIDI:              no"
fi

if test "${ENABLE_LADSPA}" = "yes"; then
  echo "LADSPA support:        yes"
else
  echo "LADSPA support:        no"
fi

if test "${LASH_FOUND}" = "yes"; then
  echo "LASH support:          yes (NOTE: GPL library)"
else
  echo "LASH support:          no"
fi

if test "${LADCCA_FOUND}" = "yes"; then
  echo "LADCCA support:        yes (NOTE: GPL library)"
else
  echo "LADCCA support:        no"
fi

if test "${DART_SUPPORT}" = "1"; then
  echo "OS/2 DART support:     yes"
else
  echo "OS/2 DART support:     no"
fi

if test "${AUFILE_SUPPORT}" = "1"; then
  echo "Audio to file driver:  yes"
else
  echo "Audio to file driver:  no"
fi

if test "$WITH_READLINE" = "1"; then
  echo "Readline:              yes (NOTE: GPL library)"
else
  echo "Readline:              no"
fi

if test "${profiling_flag}" = "yes"; then
  echo "Profiling:             yes"
else
  echo "Profiling:             no"
fi

if test "${ENABLE_DEBUG}" = "yes"; then
  echo "Debug:                 yes"
else
  echo "Debug:                 no"
fi

if test "${ENABLE_TRAPONFPE}" = "yes"; then
  echo "Trap on FPE (debug):   yes"
else
  echo "Trap on FPE (debug):   no"
fi

if test "${ENABLE_FPECHECK}" = "yes"; then
  echo "Check FPE (debug):     yes"
else
  echo "Check FPE (debug):     no"
fi

echo "***************************************************************"
echo