forked from rncbc/qjackctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
565 lines (473 loc) · 17.7 KB
/
configure.ac
File metadata and controls
565 lines (473 loc) · 17.7 KB
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
# Process this file with autoconf to produce a configure script.
AC_INIT(QjackCtl, 0.4.1.13, rncbc@rncbc.org, qjackctl)
AC_CONFIG_SRCDIR(src/qjackctl.cpp)
AC_CONFIG_HEADERS(src/config.h)
AC_CONFIG_FILES(Makefile qjackctl.spec src/src.pri src/qjackctl.desktop)
# Set default installation prefix.
AC_PREFIX_DEFAULT(/usr/local)
ac_prefix=$prefix
if test "x$ac_prefix" = "xNONE"; then
ac_prefix=$ac_default_prefix
fi
AC_SUBST(ac_prefix)
AC_DEFINE_UNQUOTED(CONFIG_PREFIX, ["$ac_prefix"], [Default installation prefix.])
# Enable debugging argument option.
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug], [enable debugging (default=no)]),
[ac_debug="$enableval"])
if test "x$ac_debug" = "xyes"; then
AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])
ac_stacktrace="yes"
ac_debug="debug"
else
ac_stacktrace="no"
ac_debug="release"
fi
AC_SUBST(ac_debug)
# Enable Qt4/5 availability.
AC_ARG_ENABLE(qt4,
AC_HELP_STRING([--enable-qt4], [enable Qt4 build (default=no)]),
[ac_qt4="$enableval"],
[ac_qt4="no"])
AC_ARG_ENABLE(qt5,
AC_HELP_STRING([--enable-qt5], [enable Qt5 build (default=yes)]),
[ac_qt5="$enableval"],
[ac_qt5="yes"])
# Disable system tray argument option.
AC_ARG_ENABLE(system_tray,
AC_HELP_STRING([--enable-system-tray], [enable system tray (default=yes)]),
[ac_system_tray="$enableval"],
[ac_system_tray="yes"])
# Disable JACK MIDI support option.
AC_ARG_ENABLE(jack_midi,
AC_HELP_STRING([--enable-jack-midi], [enable JACK MIDI support (default=yes)]),
[ac_jack_midi="$enableval"],
[ac_jack_midi="yes"])
# Enable JACK session support.
AC_ARG_ENABLE(jack_session,
AC_HELP_STRING([--enable-jack-session], [enable JACK session support (default=yes)]),
[ac_jack_session="$enableval"],
[ac_jack_session="yes"])
# Enable JACK port aliases support.
AC_ARG_ENABLE(jack_port_aliases,
AC_HELP_STRING([--enable-jack-port-aliases], [enable JACK port aliases support (default=yes)]),
[ac_jack_port_aliases="$enableval"],
[ac_jack_port_aliases="yes"])
# Enable JACK metadata support.
AC_ARG_ENABLE(jack_metadata,
AC_HELP_STRING([--enable-jack-metadata], [enable JACK metadata support (default=yes)]),
[ac_jack_metadata="$enableval"],
[ac_jack_metadata="yes"])
# Enable JACK version support.
AC_ARG_ENABLE(jack_version,
AC_HELP_STRING([--enable-jack-version], [enable JACK version support (default=no)]),
[ac_jack_version="$enableval"],
[ac_jack_version="no"])
# Disable ALSA sequencer support option.
AC_ARG_ENABLE(alsa_seq,
AC_HELP_STRING([--enable-alsa-seq], [enable ALSA/MIDI sequencer support (default=yes)]),
[ac_alsa_seq="$enableval"],
[ac_alsa_seq="yes"])
# Enable PortAudio argument option.
AC_ARG_ENABLE(portaudio,
AC_HELP_STRING([--enable-portaudio], [enable PortAudio interface (default=yes)]),
[ac_portaudio="$enableval"],
[ac_portaudio="yes"])
# Enable D-Bus argument option.
AC_ARG_ENABLE(dbus,
AC_HELP_STRING([--enable-dbus], [enable D-Bus interface (default=yes)]),
[ac_dbus="$enableval"],
[ac_dbus="yes"])
if test "x$ac_dbus" = "xyes"; then
AC_DEFINE(CONFIG_DBUS, 1, [Define if D-Bus interface is enabled.])
ac_qdbus="qdbus"
fi
AC_SUBST(ac_qdbus)
# Enable X11 unique/single instance.
AC_ARG_ENABLE(xunique,
AC_HELP_STRING([--enable-xunique], [enable X11 unique/single instance (default=yes)]),
[ac_xunique="$enableval"],
[ac_xunique="yes"])
# Enable debugger stack-trace option (assumes --enable-debug).
AC_ARG_ENABLE(stacktrace,
AC_HELP_STRING([--enable-stacktrace], [enable debugger stack-trace (default=no)]),
[ac_stacktrace="$enableval"])
# Standard installation base dirs.
ac_with_paths="/usr /usr/local"
# Set for alternate Qt4/5 installation dir.
AC_ARG_WITH(qt4,
AC_HELP_STRING([--with-qt4=PATH], [use alternate Qt4 install path]),
[ac_qt4_path="$withval"], [ac_qt4_path="no"])
AC_ARG_WITH(qt5,
AC_HELP_STRING([--with-qt5=PATH], [use alternate Qt5 install path]),
[ac_qt5_path="$withval"], [ac_qt5_path="no"])
if test "x$ac_qt4_path" != "xno"; then
ac_with_paths="$ac_with_paths $ac_qt4_path"
ac_qt4="yes"
fi
if test "x$ac_qt5_path" != "xno"; then
ac_with_paths="$ac_with_paths $ac_qt5_path"
ac_qt5="yes"
fi
if test "x$ac_qt5" = "xno"; then
ac_qt4="yes"
fi
if test "x$ac_qt4" = "xyes"; then
ac_qt5="no"
fi
# Set for alternate JACK installation dir.
AC_ARG_WITH(jack,
AC_HELP_STRING([--with-jack=PATH], [use alternate JACK install path]),
[ac_with_paths="$ac_with_paths $withval"])
# Set for alternate ALSA installation dir.
AC_ARG_WITH(alsa,
AC_HELP_STRING([--with-alsa=PATH], [use alternate ALSA install path]),
[ac_with_paths="$ac_with_paths $withval"])
# Set for alternate PortAudio installation dir.
AC_ARG_WITH(portaudio,
AC_HELP_STRING([--with-portaudio=PATH], [use alternate PortAudio install path]),
[ac_with_paths="$ac_with_paths $withval"])
# Honor user specified flags.
ac_cflags=$CFLAGS
ac_ldflags=$LDFLAGS
# Checks for programs.
AC_PROG_CC
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_GCC_TRADITIONAL
# Checks for languages.
AC_LANG_C
AC_LANG_CPLUSPLUS
# Check for proper flags.
ac_arch=`uname -m`
# Check for install paths and alternatives...
ac_libdirs="lib"
if test "x$ac_arch" = "xx86_64"; then
ac_libdirs="$ac_libdirs lib64"
fi
CFLAGS="-fPIC $CFLAGS"
CPPFLAGS="-fPIC $CPPFLAGS"
# Prepend alternate dependencies paths.
ac_path=$PATH
for X in $ac_with_paths; do
if test -d $X/bin; then
ac_path="$X/bin:$ac_path"
fi
if test -d $X/include; then
CFLAGS="-I$X/include $CFLAGS "
CPPFLAGS="-I$X/include $CPPFLAGS"
ac_incpath="$X/include $ac_incpath"
fi
for Y in $ac_libdirs; do
if test -d $X/$Y; then
LIBS="-L$X/$Y $LIBS"
ac_libs="-L$X/$Y $ac_libs"
fi
done
done
# A common error message:
ac_errmsg="not found in current PATH. Maybe QT development environment isn't available."
if test "x$ac_qt4" = "xyes"; then
AC_PATH_PROG(ac_qmake, qmake-qt4, [no], $ac_path)
fi
if test "x$ac_qt5" = "xyes"; then
AC_PATH_PROG(ac_qmake, qmake-qt5, [no], $ac_path)
fi
if test "x$ac_qmake" = "xno"; then
AC_PATH_PROG(ac_cv_qmake, qmake, [no], $ac_path)
ac_qmake=$ac_cv_qmake
fi
if test "x$ac_qmake" = "xno"; then
AC_MSG_ERROR([qmake $ac_errmsg])
fi
# Check for proper Qt4/5 major version.
ac_qt_version_major=`$ac_qmake -query QT_VERSION | cut -d. -f1`
if test "x$ac_qt4" = "xyes" -a "x$ac_qt_version_major" != "x4"; then
AC_MSG_ERROR([qmake-qt4 $ac_errmsg (qt4-devel)])
fi
if test "x$ac_qt5" = "xyes" -a "x$ac_qt_version_major" != "x5"; then
AC_MSG_ERROR([qmake-qt5 $ac_errmsg (qt5-devel)])
fi
ac_qt_install_bins=`$ac_qmake -query QT_INSTALL_BINS`
if test -d $ac_qt_install_bins; then
ac_path="$ac_qt_install_bins:$ac_path"
fi
# Check it again, now with updated PATH, just in case...
AC_PATH_PROG(ac_cv_qmake, qmake, [no], $ac_path)
ac_qmake=$ac_cv_qmake
if test "x$ac_qmake" = "xno"; then
AC_MSG_ERROR([qmake $ac_errmsg])
fi
AC_SUBST(ac_qmake)
ac_qt_install_headers=`$ac_qmake -query QT_INSTALL_HEADERS`
if test -d $ac_qt_install_headers; then
CFLAGS="-I$ac_qt_install_headers $CFLAGS "
CPPFLAGS="-I$ac_qt_install_headers $CPPFLAGS"
ac_incpath="$ac_qt_install_headers $ac_incpath"
fi
ac_qt_install_libs=`$ac_qmake -query QT_INSTALL_LIBS`
if test -d $ac_qt_install_libs; then
LIBS="-L$ac_qt_install_libs $LIBS"
ac_libs="-L$ac_qt_install_libs $ac_libs"
fi
# Check for proper Qt4/5 version.
if test "x$ac_qt4" = "xyes"; then
AC_CACHE_CHECK([for Qt library version >= 4.4],
ac_cv_qtversion, [
AC_TRY_COMPILE([#include "QtCore/qglobal.h"], [
#if QT_VERSION < 0x040400 || QT_VERSION >= 0x050000
#error Qt library 4.4 or greater required.
#endif
], ac_cv_qtversion="yes", [
echo "no; Qt 4.4 or greater is required"
exit 1
])
])
fi
if test "x$ac_qt5" = "xyes"; then
AC_CACHE_CHECK([for Qt library version >= 5.1],
ac_cv_qtversion, [
AC_TRY_COMPILE([#include "QtCore/qglobal.h"], [
#if QT_VERSION < 0x050100 || QT_VERSION >= 0x060000
#error Qt library 5.1 or greater required.
#endif
], ac_cv_qtversion="yes", [
echo "no; Qt 5.1 or greater is required"
exit 1
])
])
fi
# Check for Qt moc utility.
AC_PATH_PROG(ac_moc, moc, [no], $ac_path)
if test "x$ac_moc" = "xno"; then
AC_MSG_ERROR([moc $ac_errmsg])
fi
AC_SUBST(ac_moc)
# Check for Qt uic utility.
AC_PATH_PROG(ac_uic, uic, [no], $ac_path)
if test "x$ac_uic" = "xno"; then
AC_MSG_ERROR([uic $ac_errmsg])
fi
AC_SUBST(ac_uic)
# Check for Qt lupdate utility.
AC_PATH_PROG(ac_lupdate, lupdate, [no], $ac_path)
if test "x$ac_lupdate" = "xno"; then
AC_MSG_ERROR([lupdate $ac_errmsg])
fi
AC_SUBST(ac_lupdate)
# Check for Qt lrelease utility.
AC_PATH_PROG(ac_lrelease, lrelease, [no], $ac_path)
if test "x$ac_release" = "xno"; then
AC_MSG_ERROR([lrelease $ac_errmsg])
fi
AC_SUBST(ac_lrelease)
# Checks for libraries.
AC_CHECK_LIB(m, main)
AC_CHECK_LIB(X11, main)
AC_CHECK_LIB(Xext, main)
# Check for round math function.
AC_CHECK_LIB(m, lroundf, [ac_round="yes"], [ac_round="no"])
if test "x$ac_round" = "xyes"; then
AC_DEFINE(CONFIG_ROUND, 1, [Define if round is available.])
fi
# Check for JACK libraries.
AC_CHECK_LIB(jack, main, [ac_jack_lib="yes"], [ac_jack_lib="no"])
if test "x$ac_jack_lib" = "xno"; then
AC_MSG_ERROR([JACK library not found.])
fi
ac_libs="$ac_libs -ljack"
# Check for ALSA libraries and primarily
# for ALSA/MIDI sequencer support.
if test "x$ac_alsa_seq" = "xyes"; then
AC_CHECK_LIB(asound, main, [ac_alsa_lib="yes"], [ac_alsa_lib="no"])
if test "x$ac_alsa_lib" = "xno"; then
AC_MSG_WARN([*** ALSA library not found.])
ac_alsa_seq="no"
else
ac_libs="$ac_libs -lasound"
fi
fi
if test "x$ac_portaudio" = "xyes"; then
AC_CHECK_LIB(portaudio, main, [ac_portaudio_lib="yes"], [ac_portaudio_lib="no"])
if test "x$ac_portaudio_lib" = "xno"; then
AC_MSG_WARN([*** PortAudio library not found.])
ac_portaudio="no"
else
ac_libs="$ac_libs -lportaudio"
fi
fi
AC_SUBST(ac_libs)
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h poll.h signal.h)
# Check for JACK headers.
AC_CHECK_HEADER(jack/jack.h, [ac_jack_h="yes"], [ac_jack_h="no"])
if test "x$ac_jack_h" = "xno"; then
AC_MSG_ERROR([JACK headers not found.])
fi
# Check for jack/statistics.h header.
AC_CHECK_HEADER(jack/statistics.h, [ac_jack_statistics_h="yes"], [ac_jack_statistics_h="no"])
if test "x$ac_jack_statistics_h" = "xyes"; then
AC_DEFINE(CONFIG_JACK_STATISTICS, 1, [Define if jack/statistics.h is available.])
fi
# Check for CoreAudio/CoreAudio.h header (MacOSX).
AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [ac_coreaudio="yes"], [ac_coreaudio="no"])
if test "x$ac_coreaudio" = "xyes"; then
AC_DEFINE(CONFIG_COREAUDIO, 1, [Define if CoreAudio/CoreAudio.h is available (Mac OS X).])
ac_alsa_seq="no"
ac_libs="$ac_libs -framework CoreAudio -framework CoreFoundation"
fi
# Check for JACK MIDI headers availability.
if test "x$ac_jack_midi" = "xyes"; then
AC_CHECK_HEADER(jack/midiport.h, [ac_jack_midi="yes"], [ac_jack_midi="no"])
if test "x$ac_jack_midi" = "xyes"; then
AC_DEFINE(CONFIG_JACK_MIDI, 1, [Define if JACK MIDI support is available.])
else
AC_MSG_WARN([*** jack/midiport.h file not found.])
AC_MSG_WARN([*** JACK 0.103.0 or later may be required.])
AC_MSG_WARN([*** JACK MIDI support will be disabled.])
fi
fi
# Check for JACK session headers availability.
if test "x$ac_jack_session" = "xyes"; then
AC_CHECK_HEADER(jack/session.h, [ac_jack_session="yes"], [ac_jack_session="no"])
if test "x$ac_jack_session" = "xyes"; then
AC_DEFINE(CONFIG_JACK_SESSION, 1, [Define if JACK session support is available.])
else
AC_MSG_WARN([*** jack/session.h file not found.])
AC_MSG_WARN([*** JACK 0.118.3 or later may be required.])
AC_MSG_WARN([*** JACK session support will be disabled.])
fi
fi
# Check for JACK metadata headers availability.
if test "x$ac_jack_metadata" = "xyes"; then
AC_CHECK_HEADER(jack/metadata.h, [ac_jack_metadata="yes"], [ac_jack_metadata="no"])
if test "x$ac_jack_metadata" = "xyes"; then
AC_DEFINE(CONFIG_JACK_METADATA, 1, [Define if JACK metadata support is available.])
else
AC_MSG_WARN([*** jack/metadata.h file not found.])
AC_MSG_WARN([*** JACK 0.124.1 or later may be required.])
AC_MSG_WARN([*** JACK metadata support will be disabled.])
fi
fi
# Check for ALSA headers and ultimately
# for ALSA/MIDI sequencer support.
if test "x$ac_alsa_seq" = "xyes"; then
AC_CHECK_HEADER(alsa/asoundlib.h, [ac_alsa_h="yes"], [ac_alsa_h="no"])
if test "x$ac_alsa_h" = "xyes"; then
AC_DEFINE(CONFIG_ALSA_SEQ, 1, [Define if ALSA/MIDI sequencer support is enabled.])
else
AC_MSG_WARN([*** ALSA headers not found.])
AC_MSG_WARN([*** ALSA/MIDI sequencer support will be disabled.])
ac_alsa_seq="no"
fi
fi
# Check for PortAudio headers and library support.
if test "x$ac_portaudio" = "xyes"; then
AC_CHECK_HEADER(portaudio.h, [ac_portaudio_h="yes"], [ac_portaudio_h="no"])
if test "x$ac_portaudio_h" = "xyes"; then
AC_DEFINE(CONFIG_PORTAUDIO, 1, [Define if PortAudio interface is enabled.])
else
AC_MSG_WARN([*** PortAudio headers not found.])
AC_MSG_WARN([*** PortAudio interface support will be disabled.])
ac_portaudio="no"
fi
fi
# Check for X11 unique/single instance.
if test "x$ac_xunique" = "xyes"; then
AC_DEFINE(CONFIG_XUNIQUE, 1, [Define if X11 unique/single instance is enabled.])
# Some recent distros (eg. fedora, debian) require this.
ac_libs="$ac_libs -lX11"
fi
# Check for debugging stack-trace.
if test "x$ac_stacktrace" = "xyes"; then
AC_DEFINE(CONFIG_STACKTRACE, 1, [Define if debugger stack-trace is enabled.])
fi
AC_SUBST(ac_incpath)
AC_SUBST(ac_cflags)
AC_SUBST(ac_ldflags)
# Checks for typedefs, structures, and compiler characteristics.
# AC_C_CONST
# Checks for library functions.
AC_CHECK_FUNCS(system)
# Check for system-tray icon.
if test "x$ac_system_tray" = "xyes"; then
AC_DEFINE(CONFIG_SYSTEM_TRAY, 1, [Define if system tray is enabled.])
fi
# Check for jack_transport_query function.
AC_CHECK_LIB(jack, jack_transport_query, [ac_jack_transport="yes"], [ac_jack_transport="no"])
if test "x$ac_jack_transport" = "xno"; then
AC_MSG_WARN([*** jack_transport_query: function not found.])
AC_MSG_WARN([*** JACK 0.80.0 or later may be required.])
AC_MSG_WARN([*** Transport features will be disabled.])
else
AC_DEFINE(CONFIG_JACK_TRANSPORT, 1, [Define if jack_tranport_query is available.])
fi
# Check for jack_is_realtime function.
AC_CHECK_LIB(jack, jack_is_realtime, [ac_jack_realtime="yes"], [ac_jack_realtime="no"])
if test "x$ac_jack_realtime" = "xyes"; then
AC_DEFINE(CONFIG_JACK_REALTIME, 1, [Define if jack_is_realtime is available.])
fi
# Check for jack_get_xrun_delayed_usecs function.
AC_CHECK_LIB(jack, jack_get_xrun_delayed_usecs, [ac_jack_xrun_delay="yes"], [ac_jack_xrun_delay="no"])
if test "x$ac_jack_xrun_delay" = "xyes"; then
AC_DEFINE(CONFIG_JACK_XRUN_DELAY, 1, [Define if jack_get_xrun_delayed_usecs is available.])
fi
# Check for jack_get_max_delayed_usecs function.
AC_CHECK_LIB(jack, jack_get_max_delayed_usecs, [ac_jack_max_delay="yes"], [ac_jack_max_delay="no"])
if test "x$ac_jack_max_delay" = "xyes"; then
AC_DEFINE(CONFIG_JACK_MAX_DELAY, 1, [Define if jack_get_max_delayed_usecs is available.])
fi
# Check for jack_port_get_aliases function.
if test "x$ac_jack_port_aliases" = "xyes"; then
AC_CHECK_LIB(jack, jack_port_get_aliases, [ac_jack_port_aliases="yes"], [ac_jack_port_aliases="no"])
if test "x$ac_jack_port_aliases" = "xyes"; then
AC_DEFINE(CONFIG_JACK_PORT_ALIASES, 1, [Define if jack_port_get_aliases is available.])
fi
fi
# Check for jack_get_version_string function.
if test "x$ac_jack_version" = "xyes"; then
AC_CHECK_LIB(jack, jack_get_version_string, [ac_jack_version="yes"], [ac_jack_version="no"])
if test "x$ac_jack_version" = "xyes"; then
AC_DEFINE(CONFIG_JACK_VERSION, 1, [Define if jack_get_version_string is available.])
fi
fi
# Check for jack_free function.
AC_CHECK_LIB(jack, jack_free, [ac_jack_free="yes"], [ac_jack_free="no"])
if test "x$ac_jack_free" = "xyes"; then
AC_DEFINE(CONFIG_JACK_FREE, 1, [Define if jack_free is available.])
fi
# Finally produce a configure header file and the main makefile.
AC_OUTPUT
# make clean > /dev/null 2>&1
# Output summary message
echo
echo " $PACKAGE_NAME $PACKAGE_VERSION"
echo
echo " Build target . . . . . . . . . . . . . . . . . . .: $ac_debug"
echo
echo " JACK Audio Connection Kit support . . . . . . . .: $ac_jack_lib"
echo " JACK Realtime support . . . . . . . . . . . . . .: $ac_jack_realtime"
echo " JACK Transport support . . . . . . . . . . . . . .: $ac_jack_transport"
echo " JACK XRUN delay support . . . . . . . . . . . . .: $ac_jack_xrun_delay"
echo " JACK Maximum scheduling delay support . . . . . .: $ac_jack_max_delay"
echo " JACK Port aliases support . . . . . . . . . . . .: $ac_jack_port_aliases"
echo " JACK Metadata support . . . . . . . . . . . . . .: $ac_jack_metadata"
echo " JACK MIDI support . . . . . . . . . . . . . . . .: $ac_jack_midi"
echo " JACK Session support . . . . . . . . . . . . . . .: $ac_jack_session"
echo " JACK Version support (JACK2) . . . . . . . . . . .: $ac_jack_version"
echo " ALSA MIDI Sequencer support . . . . . . . . . . .: $ac_alsa_seq"
echo " System tray icon support . . . . . . . . . . . . .: $ac_system_tray"
echo " D-Bus interface support . . . . . . . . . . . . .: $ac_dbus"
echo " PortAudio interface support . . . . . . . . . . .: $ac_portaudio"
echo " CoreAudio interface support . . . . . . . . . . .: $ac_coreaudio"
echo
echo " X11 Unique/Single instance . . . . . . . . . . . .: $ac_xunique"
echo " Debugger stack-trace (gdb) . . . . . . . . . . . .: $ac_stacktrace"
echo
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix"
echo
echo "Now type 'make', followed by 'make install' as root."
echo