/[svn]/qsampler/trunk/configure.ac
ViewVC logotype

Diff of /qsampler/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3508 by capela, Mon Apr 1 22:36:26 2019 UTC revision 3910 by capela, Sun May 30 14:56:01 2021 UTC
# Line 1  Line 1 
1  # Process this file with autoconf to produce a configure script.  # Process this file with autoconf to produce a configure script.
2  AC_INIT(Qsampler, 0.5.5, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.9.4, rncbc@rncbc.org, qsampler)
3    
4  AC_CONFIG_SRCDIR(src/qsampler.cpp)  AC_CONFIG_SRCDIR(src/qsampler.cpp)
5  AC_CONFIG_HEADERS(src/config.h)  AC_CONFIG_HEADERS(src/config.h)
# Line 9  AC_CONFIG_FILES(Makefile qsampler.spec s Line 9  AC_CONFIG_FILES(Makefile qsampler.spec s
9  AC_CACHE_VAL([ac_cv_build_version], [  AC_CACHE_VAL([ac_cv_build_version], [
10     ac_cv_build_version=$(git describe --tags --dirty --abbrev=6 2>/dev/null)     ac_cv_build_version=$(git describe --tags --dirty --abbrev=6 2>/dev/null)
11     if test -n "$ac_cv_build_version"; then     if test -n "$ac_cv_build_version"; then
12        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^[[^_]]*[[_v]]//i')        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^[[^0-9]]\+//')
13          ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^1_//')
14          ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^[[_vV]]\+//')
15        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/-g/git./')        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/-g/git./')
16        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/[[_|-]]\+/./g')        ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/[[_|-]]/./g')
17        ac_cv_build_version_extra=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)        ac_cv_build_version_extra=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
18        if test "x$ac_cv_build_version_extra" != "xmaster"; then        if test "x$ac_cv_build_version_extra" != "xmaster"; then
19           ac_cv_build_version="$ac_cv_build_version [[$ac_cv_build_version_extra]]"           ac_cv_build_version="$ac_cv_build_version [[$ac_cv_build_version_extra]]"
# Line 67  AC_ARG_ENABLE(debug, Line 69  AC_ARG_ENABLE(debug,
69    AS_HELP_STRING([--enable-debug], [enable debugging (default=no)]),    AS_HELP_STRING([--enable-debug], [enable debugging (default=no)]),
70    [ac_debug="$enableval"])    [ac_debug="$enableval"])
71    
72    # Enable Qt6 build preference.
73    AC_ARG_ENABLE(qt6,
74      AS_HELP_STRING([--enable-qt6], [enable Qt6 build (default=yes)]),
75      [ac_qt6="$enableval"],
76      [ac_qt6="yes"])
77    
78    
79  if test "x$ac_debug" = "xyes"; then  if test "x$ac_debug" = "xyes"; then
80     AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])     AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])
81     ac_stacktrace="yes"     ac_stacktrace="yes"
82     ac_debug="debug"     ac_build_type="debug"
83  else  else
84     ac_stacktrace="no"     ac_stacktrace="no"
85     ac_debug="release"     ac_build_type="release"
86  fi  fi
87  AC_SUBST(ac_debug)  AC_SUBST(ac_build_type)
88    
89    
90  # Enable libgig availability.  # Enable libgig availability.
# Line 98  AC_ARG_ENABLE(stacktrace, Line 107  AC_ARG_ENABLE(stacktrace,
107    
108  # Standard installation base dirs.  # Standard installation base dirs.
109  ac_path=$PATH  ac_path=$PATH
110    ac_pkg_config_path=$PKG_CONFIG_PATH
111  ac_with_paths=""  ac_with_paths=""
112    
113  # Set for alternate Qt installation dir.  # Set for alternate Qt installation dir.
# Line 107  AC_ARG_WITH(qt, Line 117  AC_ARG_WITH(qt,
117    
118  if test "x$ac_qt_path" != "xno"; then  if test "x$ac_qt_path" != "xno"; then
119     ac_path="$ac_qt_path/bin:$ac_path"     ac_path="$ac_qt_path/bin:$ac_path"
120       ac_pkg_config_path="$ac_qt_path/lib/pkgconfig:$ac_pkg_config_path"
121  fi  fi
122    
123  # Set for alternate liblscp installation dir.  # Set for alternate liblscp installation dir.
# Line 147  AC_CACHE_CHECK([for g++ major version], Line 158  AC_CACHE_CHECK([for g++ major version],
158  ac_gxx_version_major=$ac_cv_gxx_version_major  ac_gxx_version_major=$ac_cv_gxx_version_major
159  if test $ac_gxx_version_major -ge 4 -a $ac_gxx_version_major -lt 6; then  if test $ac_gxx_version_major -ge 4 -a $ac_gxx_version_major -lt 6; then
160     CXXFLAGS="-std=c++11 $CXXFLAGS"     CXXFLAGS="-std=c++11 $CXXFLAGS"
161       ac_cflags="-std=c++11 $ac_cflags"
162    elif test $ac_gxx_version_major -ge 6 -a $ac_gxx_version_major -lt 11; then
163       CXXFLAGS="-std=c++17 $CXXFLAGS"
164       ac_cflags="-std=c++17 $ac_cflags"
165  fi  fi
166    
167  # Check for proper flags.  # Check for proper flags.
# Line 176  for X in $ac_with_paths; do Line 191  for X in $ac_with_paths; do
191       if test -d $X/$Y; then       if test -d $X/$Y; then
192          LIBS="-L$X/$Y $LIBS"          LIBS="-L$X/$Y $LIBS"
193          ac_libs="-L$X/$Y $ac_libs"          ac_libs="-L$X/$Y $ac_libs"
194            if test -d $X/$Y/pkgconfig; then
195               ac_pkg_config_path="$X/$Y/pkgconfig:$ac_pkg_config_path"
196            fi
197       fi       fi
198    done    done
199  done  done
200    
201    # Set pkg-config path.
202    if test -n "$ac_pkg_config_path"; then
203       export PKG_CONFIG_PATH=$ac_pkg_config_path
204    fi
205    
206    
207  # A common error message:  # A common error message:
208  ac_errmsg="not found in current PATH. Maybe QT development environment isn't available."  ac_errmsg="not found in current PATH. Maybe QT development environment isn't available."
209    
210    # Check for qtchooser availability.
211    AC_PATH_TOOL(ac_qtchooser, qtchooser, [no], $ac_path)
212    if test -x $ac_qtchooser; then
213       if test "x$ac_qt6" = "xyes"; then
214          export QT_SELECT=6
215       else
216          export QT_SELECT=5
217       fi
218    fi
219    
220  # Check for proper qmake path/version alternatives.  # Check for proper qmake path/version alternatives.
221  AC_PATH_TOOL(ac_qmake, qmake, [no], $ac_path)  AC_PATH_TOOL(ac_qmake, qmake, [no], $ac_path)
222  if test "x$ac_qmake" = "xno"; then  if test "x$ac_qmake" = "xno"; then
223     AC_PATH_TOOL(ac_cv_qmake, qmake-qt5, [no], $ac_path)     if test "x$ac_qt6" = "xyes"; then
224     ac_qmake=$ac_cv_qmake        AC_PATH_TOOL(ac_cv_qmake, qmake-qt6, [no], $ac_path)
225          ac_qmake=$ac_cv_qmake
226       else
227          AC_PATH_TOOL(ac_cv_qmake, qmake-qt5, [no], $ac_path)
228          ac_qmake=$ac_cv_qmake
229       fi
230  fi  fi
231    
232  # Check for proper Qt major version.  # Check for proper Qt major version.
233  AC_CACHE_CHECK([for Qt major version], [ac_cv_qt_version_major], [  AC_CACHE_CHECK([for Qt major version], [ac_cv_qt_version_major], [
234     ac_cv_qt_version_major=$($ac_qmake -query QT_VERSION | cut -d'.' -f1)     ac_cv_qt_version=$($ac_qmake -query QT_VERSION)
235       ac_cv_qt_version_major=$(echo $ac_cv_qt_version | cut -d'.' -f1)
236     ac_cv_qt_version_major=$(($ac_cv_qt_version_major + 0))     ac_cv_qt_version_major=$(($ac_cv_qt_version_major + 0))
237  ])  ])
238    ac_qt_version=$ac_cv_qt_version
239  ac_qt_version_major=$ac_cv_qt_version_major  ac_qt_version_major=$ac_cv_qt_version_major
 if test $ac_qt_version_major -ne 5; then  
         AC_PATH_TOOL(ac_cv_qmake, qmake-qt5, [no], $ac_path)  
         ac_qmake=$ac_cv_qmake  
 fi  
   
240  if test "x$ac_qmake" = "xno"; then  if test "x$ac_qmake" = "xno"; then
241     AC_MSG_ERROR([qmake-qt5 $ac_errmsg (qt5-devel)])     if test $ac_qt_version_major -lt 6; then
242          AC_MSG_ERROR([qmake-qt5 $ac_errmsg (qt5-devel)])
243       else
244          AC_MSG_ERROR([qmake-qt6 $ac_errmsg (qt6-devel)])
245       fi
246  fi  fi
247    
248  # Check for proper Qt install path.  # Check for proper Qt install path.
249  AC_CACHE_CHECK([for Qt install path], [ac_cv_qt_install_path], [  AC_CACHE_CHECK([for Qt install path (bin)], [ac_cv_qt_install_bins], [
250     ac_cv_qt_install_path=$($ac_qmake -query QT_INSTALL_BINS)     ac_cv_qt_install_bins=$($ac_qmake -query QT_INSTALL_BINS)
251    ])
252    ac_qt_install_bins=$ac_cv_qt_install_bins
253    if test -d $ac_qt_install_bins; then
254       ac_path="$ac_qt_install_bins:$ac_path"
255    fi
256    
257    AC_CACHE_CHECK([for Qt install path (libexec)], [ac_cv_qt_install_libexecs], [
258       ac_cv_qt_install_libexecs=$($ac_qmake -query QT_INSTALL_LIBEXECS)
259  ])  ])
260  ac_qt_install_path=$ac_cv_qt_install_path  ac_qt_install_libexecs=$ac_cv_qt_install_libexecs
261  if test -d $ac_qt_install_path; then  if test -d $ac_qt_install_libexecs; then
262     ac_path="$ac_qt_install_path:$ac_path"     ac_path="$ac_qt_install_libexecs:$ac_path"
263  fi  fi
264    
265  # Check it again, now with updated PATH, just in case...  # Check it again, now with updated PATH, just in case...
# Line 269  if test "x$ac_uic" = "xno"; then Line 317  if test "x$ac_uic" = "xno"; then
317  fi  fi
318  AC_SUBST(ac_uic)  AC_SUBST(ac_uic)
319    
320    
321  # Check for Qt lupdate utility.  # Check for Qt lupdate utility.
322  AC_PATH_TOOL(ac_lupdate, lupdate, [no], $ac_path)  AC_PATH_TOOL(ac_lupdate, lupdate, [no], $ac_path)
323  if test "x$ac_lupdate" = "xno"; then  if test "x$ac_lupdate" = "xno"; then
324     AC_MSG_ERROR([lupdate $ac_errmsg])     if test $ac_qt_version_major -lt 6; then
325          AC_PATH_TOOL(ac_cv_lupdate, lupdate-qt5, [no], $ac_path)
326       else
327          AC_PATH_TOOL(ac_cv_lupdate, lupdate-qt6, [no], $ac_path)
328       fi
329       if test "x$ac_cv_lupdate" = "xno"; then
330          if test $ac_qt_version_major -lt 6; then
331             AC_MSG_ERROR([lupdate $ac_errmsg (qt5-linguist)])
332          else
333             AC_MSG_ERROR([lupdate $ac_errmsg (qt6-linguist)])
334          fi
335       else
336          ac_lupdate=$ac_cv_lupdate;
337       fi
338  fi  fi
339  AC_SUBST(ac_lupdate)  AC_SUBST(ac_lupdate)
340    
341  # Check for Qt lrelease utility.  # Check for Qt lrelease utility.
342  AC_PATH_TOOL(ac_lrelease, lrelease, [no], $ac_path)  AC_PATH_TOOL(ac_lrelease, lrelease, [no], $ac_path)
343  if test "x$ac_release" = "xno"; then  if test "x$ac_lrelease" = "xno"; then
344     AC_MSG_ERROR([lrelease $ac_errmsg])     if test $ac_qt_version_major -lt 6; then
345          AC_PATH_TOOL(ac_cv_lrelease, lrelease-qt5, [no], $ac_path)
346       else
347          AC_PATH_TOOL(ac_cv_lrelease, lrelease-qt6, [no], $ac_path)
348       fi
349       if test "x$ac_cv_lrelease" = "xno"; then
350          if test $ac_qt_version_major -lt 6; then
351             AC_MSG_ERROR([lrelease $ac_errmsg (qt5-linguist)])
352          else
353             AC_MSG_ERROR([lrelease $ac_errmsg (qt6-linguist)])
354          fi
355       else
356          ac_lrelease=$ac_cv_lrelease;
357       fi
358  fi  fi
359  AC_SUBST(ac_lrelease)  AC_SUBST(ac_lrelease)
360    
# Line 318  esac Line 393  esac
393  AC_CACHE_CHECK([for instrument_name in lscp_channel_info_t],  AC_CACHE_CHECK([for instrument_name in lscp_channel_info_t],
394    ac_cv_instrument_name, [    ac_cv_instrument_name, [
395    AC_TRY_COMPILE([#include "lscp/client.h"], [    AC_TRY_COMPILE([#include "lscp/client.h"], [
396          lscp_channel_info_t info;         lscp_channel_info_t info;
397          info.instrument_name = 0;         info.instrument_name = 0;
398      ], ac_cv_instrument_name="yes", ac_cv_instrument_name="no")      ], ac_cv_instrument_name="yes", ac_cv_instrument_name="no")
399  ])  ])
400  ac_instrument_name=$ac_cv_instrument_name  ac_instrument_name=$ac_cv_instrument_name
# Line 330  fi Line 405  fi
405  AC_CACHE_CHECK([for mute/solo in lscp_channel_info_t],  AC_CACHE_CHECK([for mute/solo in lscp_channel_info_t],
406    ac_cv_mute_solo, [    ac_cv_mute_solo, [
407    AC_TRY_COMPILE([#include "lscp/client.h"], [    AC_TRY_COMPILE([#include "lscp/client.h"], [
408          lscp_channel_info_t info;         lscp_channel_info_t info;
409          info.mute = 0;         info.mute = 0;
410          info.solo = 0;         info.solo = 0;
411      ], ac_cv_mute_solo="yes", ac_cv_mute_solo="no")      ], ac_cv_mute_solo="yes", ac_cv_mute_solo="no")
412  ])  ])
413  ac_mute_solo=$ac_cv_mute_solo  ac_mute_solo=$ac_cv_mute_solo
# Line 348  fi Line 423  fi
423    
424  AC_CHECK_LIB(lscp, lscp_map_midi_instrument, [ac_midi_instrument="yes"], [ac_midi_instrument="no"])  AC_CHECK_LIB(lscp, lscp_map_midi_instrument, [ac_midi_instrument="yes"], [ac_midi_instrument="no"])
425  if test "x$ac_midi_instrument" = "xyes"; then  if test "x$ac_midi_instrument" = "xyes"; then
426    AC_DEFINE(CONFIG_MIDI_INSTRUMENT, 1, [Define if MIDI instrument mapping is available.])     AC_DEFINE(CONFIG_MIDI_INSTRUMENT, 1, [Define if MIDI instrument mapping is available.])
427  fi  fi
428    
429  AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"])  AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"])
# Line 357  if test "x$ac_fxsend" = "xyes"; then Line 432  if test "x$ac_fxsend" = "xyes"; then
432    AC_CACHE_CHECK([for FX send level in lscp_fxsend_info_t],    AC_CACHE_CHECK([for FX send level in lscp_fxsend_info_t],
433      ac_cv_fxsend_level, [      ac_cv_fxsend_level, [
434      AC_TRY_COMPILE([#include "lscp/client.h"], [      AC_TRY_COMPILE([#include "lscp/client.h"], [
435            lscp_fxsend_info_t info;           lscp_fxsend_info_t info;
436            info.level = 0.0f;           info.level = 0.0f;
437        ], ac_cv_fxsend_level="yes", ac_cv_fxsend_level="no")        ], ac_cv_fxsend_level="yes", ac_cv_fxsend_level="no")
438    ])    ])
439    ac_fxsend_level=$ac_cv_fxsend_level    ac_fxsend_level=$ac_cv_fxsend_level
440    if test "x$ac_fxsend_level" = "xyes"; then    if test "x$ac_fxsend_level" = "xyes"; then
441            AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.])       AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.])
442    fi    fi
443    AC_CHECK_LIB(lscp, lscp_set_fxsend_name, [ac_fxsend_rename="yes"], [ac_fxsend_rename="no"])    AC_CHECK_LIB(lscp, lscp_set_fxsend_name, [ac_fxsend_rename="yes"], [ac_fxsend_rename="no"])
444    if test "x$ac_fxsend_rename" = "xyes"; then    if test "x$ac_fxsend_rename" = "xyes"; then
445            AC_DEFINE(CONFIG_FXSEND_RENAME, 1, [Define if FX send rename is available.])       AC_DEFINE(CONFIG_FXSEND_RENAME, 1, [Define if FX send rename is available.])
446    fi    fi
447  fi  fi
448    
449  AC_CACHE_CHECK([for audio_routing array type],  AC_CACHE_CHECK([for audio_routing array type],
450    ac_cv_audio_routing, [    ac_cv_audio_routing, [
451    AC_TRY_COMPILE([#include "lscp/client.h"], [    AC_TRY_COMPILE([#include "lscp/client.h"], [
452      lscp_channel_info_t info;         lscp_channel_info_t info;
453      char ch = info.audio_routing[0][0];         char ch = info.audio_routing[0][0];
454      ], ac_cv_audio_routing="no", ac_cv_audio_routing="yes")      ], ac_cv_audio_routing="no", ac_cv_audio_routing="yes")
455  ])  ])
456  ac_audio_routing=$ac_cv_audio_routing  ac_audio_routing=$ac_cv_audio_routing
# Line 385  fi Line 460  fi
460    
461  AC_CHECK_LIB(lscp, lscp_set_volume, [ac_volume="yes"], [ac_volume="no"])  AC_CHECK_LIB(lscp, lscp_set_volume, [ac_volume="yes"], [ac_volume="no"])
462  if test "x$ac_volume" = "xyes"; then  if test "x$ac_volume" = "xyes"; then
463    AC_DEFINE(CONFIG_VOLUME, 1, [Define if global volume is available.])     AC_DEFINE(CONFIG_VOLUME, 1, [Define if global volume is available.])
464  fi  fi
465    
466  AC_CHECK_LIB(lscp, lscp_edit_channel_instrument, [ac_edit_instrument="yes"], [ac_edit_instrument="no"])  AC_CHECK_LIB(lscp, lscp_edit_channel_instrument, [ac_edit_instrument="yes"], [ac_edit_instrument="no"])
467  if test "x$ac_edit_instrument" = "xyes"; then  if test "x$ac_edit_instrument" = "xyes"; then
468    AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.])     AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.])
469  fi  fi
470    
471  AC_CACHE_CHECK([for CHANNEL_MIDI LSCP event support in liblscp],  AC_CACHE_CHECK([for CHANNEL_MIDI LSCP event support in liblscp],
472    ac_cv_channel_midi_event, [    ac_cv_channel_midi_event, [
473    AC_TRY_COMPILE([    AC_TRY_COMPILE([
474          #include "lscp/client.h"         #include "lscp/client.h"
475          #include "lscp/event.h"         #include "lscp/event.h"
476          ], [      ], [
477          lscp_event_t ev;         lscp_event_t ev;
478          ev = LSCP_EVENT_CHANNEL_MIDI;         ev = LSCP_EVENT_CHANNEL_MIDI;
479      ], ac_cv_channel_midi_event="yes", ac_cv_channel_midi_event="no")      ], ac_cv_channel_midi_event="yes", ac_cv_channel_midi_event="no")
480  ])  ])
481  ac_channel_midi_event=$ac_cv_channel_midi_event  ac_channel_midi_event=$ac_cv_channel_midi_event
# Line 411  fi Line 486  fi
486  AC_CACHE_CHECK([for DEVICE_MIDI LSCP event support in liblscp],  AC_CACHE_CHECK([for DEVICE_MIDI LSCP event support in liblscp],
487    ac_cv_device_midi_event, [    ac_cv_device_midi_event, [
488    AC_TRY_COMPILE([    AC_TRY_COMPILE([
489          #include "lscp/client.h"         #include "lscp/client.h"
490          #include "lscp/event.h"         #include "lscp/event.h"
491          ], [      ], [
492          lscp_event_t ev;         lscp_event_t ev;
493          ev = LSCP_EVENT_DEVICE_MIDI;         ev = LSCP_EVENT_DEVICE_MIDI;
494      ], ac_cv_device_midi_event="yes", ac_cv_device_midi_event="no")      ], ac_cv_device_midi_event="yes", ac_cv_device_midi_event="no")
495  ])  ])
496  ac_device_midi_event=$ac_cv_device_midi_event  ac_device_midi_event=$ac_cv_device_midi_event
# Line 425  fi Line 500  fi
500    
501  AC_CHECK_LIB(lscp, lscp_get_voices, [ac_max_voices="yes"], [ac_max_voices="no"])  AC_CHECK_LIB(lscp, lscp_get_voices, [ac_max_voices="yes"], [ac_max_voices="no"])
502  if test "x$ac_max_voices" = "xyes"; then  if test "x$ac_max_voices" = "xyes"; then
503    AC_DEFINE(CONFIG_MAX_VOICES, 1, [Define if max. voices / streams is available.])     AC_DEFINE(CONFIG_MAX_VOICES, 1, [Define if max. voices / streams is available.])
504    fi
505    
506    AC_CHECK_LIB(lscp, lscp_client_connection_lost, [ac_lscp_conn_lost="yes"], [ac_lscp_conn_lost="no"])
507    if test "x$ac_lscp_conn_lost" = "xyes"; then
508       AC_DEFINE(CONFIG_LSCP_CLIENT_CONNECTION_LOST, 1, [Define if liblscp function lscp_client_connection_lost() is available.])
509  fi  fi
510    
511  # Check for optional libraries.  # Check for optional libraries.
# Line 466  fi Line 546  fi
546    
547  # Check for unique/single instance support.  # Check for unique/single instance support.
548  if test "x$ac_xunique" = "xyes"; then  if test "x$ac_xunique" = "xyes"; then
549     PKG_CHECK_MODULES([QT5NETWORK], [Qt5Network], [ac_qt5network="yes"], [ac_qt5network="no"])     if test $ac_qt_version_major -lt 6; then
550     if test "x$ac_qt5network" = "xyes"; then        PKG_CHECK_MODULES([QT5NETWORK], [Qt5Network], [ac_xunique="yes"], [ac_xunique="no"])
551        AC_DEFINE(CONFIG_XUNIQUE, 1, [Define if unique/single instance is enabled.])     else
552        ac_qnetwork="network"       #PKG_CHECK_MODULES([QT6NETWORK], [Qt6Network], [ac_xunique="yes"], [ac_xunique="no"])
553          AC_CHECK_LIB(Qt6Network, main, [ac_xunique="yes"], [ac_xunique="no"])
554     fi     fi
555  fi  fi
556    if test "x$ac_xunique" = "xyes"; then
557       AC_DEFINE(CONFIG_XUNIQUE, 1, [Define if unique/single instance is enabled.])
558       ac_qnetwork="network"
559    fi
560  AC_SUBST(ac_qnetwork)  AC_SUBST(ac_qnetwork)
561    
562  # Check for debugging stack-trace.  # Check for debugging stack-trace.
# Line 499  AC_OUTPUT Line 584  AC_OUTPUT
584  # Output summary message  # Output summary message
585    
586  echo  echo
587  echo "  $PACKAGE_NAME $ac_build_version"  echo "  $PACKAGE_NAME $ac_build_version (Qt $ac_qt_version)"
588  echo  echo
589  echo "  Build target . . . . . . . . . . . . . . . . . . .: $ac_debug"  echo "  Build target . . . . . . . . . . . . . . . . . . .: $ac_build_type"
590  echo  echo
591  echo "  LSCP instrument name support . . . . . . . . . . .: $ac_instrument_name"  echo "  LSCP instrument name support . . . . . . . . . . .: $ac_instrument_name"
592  echo "  LSCP mute/solo support . . . . . . . . . . . . . .: $ac_mute_solo"  echo "  LSCP mute/solo support . . . . . . . . . . . . . .: $ac_mute_solo"
# Line 520  fi Line 605  fi
605  echo "  LSCP channel MIDI event support  . . . . . . . . .: $ac_channel_midi_event"  echo "  LSCP channel MIDI event support  . . . . . . . . .: $ac_channel_midi_event"
606  echo "  LSCP device MIDI event support . . . . . . . . . .: $ac_device_midi_event"  echo "  LSCP device MIDI event support . . . . . . . . . .: $ac_device_midi_event"
607  echo "  LSCP runtime max. voices / disk streams support  .: $ac_max_voices"  echo "  LSCP runtime max. voices / disk streams support  .: $ac_max_voices"
608    echo "  LSCP connection loss support . . . . . . . . . . .: $ac_lscp_conn_lost"
609  echo  echo
610  echo "  Unique/Single instance support . . . . . . . . . .: $ac_xunique"  echo "  Unique/Single instance support . . . . . . . . . .: $ac_xunique"
611  echo "  Debugger stack-trace (gdb) . . . . . . . . . . . .: $ac_stacktrace"  echo "  Debugger stack-trace (gdb) . . . . . . . . . . . .: $ac_stacktrace"

Legend:
Removed from v.3508  
changed lines
  Added in v.3910

  ViewVC Help
Powered by ViewVC