From 25b398ea000b5529084d985bd14ed066a81578d3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 16 Jun 2019 10:47:33 +0200 Subject: Make max channnel count controllable through the configure script to make it possible to exceed the default 16. --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ff226d0..5d8652a 100644 --- a/configure.ac +++ b/configure.ac @@ -203,6 +203,14 @@ AM_CONDITIONAL([ENABLE_PUGL_X11], [test "x$enable_gui" = "xpugl-x11"]) AM_CONDITIONAL([ENABLE_PUGL_WIN32], [test "x$enable_gui" = "xpugl-win32"]) AM_CONDITIONAL([ENABLE_PUGL_COCOA], [test "x$enable_gui" = "xpugl-cocoa"]) +dnl =========================== +dnl Custom number of outputs? +dnl =========================== +AC_ARG_ENABLE([custom-channel-count], + AS_HELP_STRING([--enable-custom-channel-count[=count]], [Compile with specified number of output channels [default=16]]),, + [enable_custom_channel_count="16"]) +AC_DEFINE_UNQUOTED([NUM_CHANNELS], [$enable_custom_channel_count], [Number of output channels]) + dnl ====================== dnl Compile unit tests dnl ====================== -- cgit v1.2.3