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

Diff of /linuxsampler/trunk/configure.ac

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

revision 1722 by schoenebeck, Thu Apr 10 17:41:32 2008 UTC revision 1777 by persson, Mon Sep 15 16:58:10 2008 UTC
# Line 5  AC_INIT(configure.in) Line 5  AC_INIT(configure.in)
5    
6  LINUXSAMPLER_RELEASE_MAJOR=0  LINUXSAMPLER_RELEASE_MAJOR=0
7  LINUXSAMPLER_RELEASE_MINOR=5  LINUXSAMPLER_RELEASE_MINOR=5
8  LINUXSAMPLER_RELEASE_BUILD=1.5cvs  LINUXSAMPLER_RELEASE_BUILD=1.7cvs
9    
10  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
11  # The following is the libtool / shared library version. This doesn't have to  # The following is the libtool / shared library version. This doesn't have to
# Line 38  LSCP_RELEASE_MINOR=4 Line 38  LSCP_RELEASE_MINOR=4
38  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])
39  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])
40    
41    AC_PROG_CXX
42    AC_LIBTOOL_WIN32_DLL
43  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
44    
45  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
# Line 161  else Line 163  else
163      echo "NPTL glibc bug check disabled"      echo "NPTL glibc bug check disabled"
164  fi  fi
165    
166    # FIXME: this is actually a dependency of libgig, not of LS directly, why
167    # isn't it hidden by libgig?
168    AC_CHECK_HEADERS(uuid/uuid.h)
169    AC_SEARCH_LIBS(uuid_generate, uuid)
170    
171    
172    
173  ###########################################################################  ###########################################################################
# Line 264  if test "$config_jack_driver" = "yes"; t Line 271  if test "$config_jack_driver" = "yes"; t
271      if test $have_jack = "1"; then      if test $have_jack = "1"; then
272          AC_SUBST(JACK_LIBS)          AC_SUBST(JACK_LIBS)
273          AC_SUBST(JACK_CFLAGS)          AC_SUBST(JACK_CFLAGS)
274          AC_CHECK_LIB(jack, jack_client_name_size, [AC_DEFINE(HAVE_JACK_CLIENT_NAME_SIZE, 1, [Define to 1 if you have the `jack_client_name_size' function.])], , $JACK_LIBS)          linuxsampler_save_LIBS=$LIBS
275            LIBS="$JACK_LIBS $LIBS"
276            AC_CHECK_FUNCS(jack_client_name_size jack_client_open)
277            LIBS=$linuxsampler_save_LIBS
278          have_audio_output_driver="true";          have_audio_output_driver="true";
279      fi      fi
280  else  else
# Line 427  fi Line 437  fi
437  AM_CONDITIONAL(HAVE_MME_MIDI, test $have_mmemidi = "1")  AM_CONDITIONAL(HAVE_MME_MIDI, test $have_mmemidi = "1")
438  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_mmemidi,[Define to 1 if you have MME MIDI installed.])  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_mmemidi,[Define to 1 if you have MME MIDI installed.])
439    
440    
441    # DSSI
442    AC_CHECK_HEADERS(dssi.h,
443            have_dssi=1,
444            have_dssi=0)
445    AM_CONDITIONAL(HAVE_DSSI, test $have_dssi = "1")
446    
447    # LV2
448    PKG_CHECK_MODULES(LV2, lv2core, have_lv2=1, have_lv2=0)
449    if test $have_lv2 = "0"; then
450        AC_CHECK_HEADER(lv2.h, have_lv2=1, have_lv2=0)
451    fi
452    AM_CONDITIONAL(HAVE_LV2, test $have_lv2 = "1")
453    
454    # VST
455    AC_ARG_ENABLE(vstsdk-dir,
456      [  --enable-vstsdk-dir
457                              Directory where the VST SDK is located.
458                              This automatically enables the compilation
459                              of the VST plugin.],
460      [VSTSDK_DIR="${enableval}"],
461      [VSTSDK_DIR=]
462    )
463    AC_SUBST(VSTSDK_DIR)
464    AM_CONDITIONAL(HAVE_VST, test "x$VSTSDK_DIR" != "x")
465    
466    
467  # have we found at least one MIDI input and one audio output driver ?  # have we found at least one MIDI input and one audio output driver ?
468  if test "$have_midi_input_driver" = "false"; then  if test "$have_midi_input_driver" = "false"; then
469      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
# Line 558  fi Line 595  fi
595    
596  AC_ARG_ENABLE(pthread-testcancel,  AC_ARG_ENABLE(pthread-testcancel,
597    [  --enable-pthread-testcancel    [  --enable-pthread-testcancel
598                            Enable pthread_testcancel() calls and avoid asynchronous                            Enable pthread_testcancel() calls and avoid asynchronous
599                            cancel of pthreads (default=no).],                            cancel of pthreads (default=no).],
600    [config_pthread_testcancel="$enableval"],    [config_pthread_testcancel="$enableval"],
601    [config_pthread_testcancel="no"]    [config_pthread_testcancel="no"]
# Line 990  if test "$config_interpolate_volume" = " Line 1027  if test "$config_interpolate_volume" = "
1027    AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])    AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
1028  fi  fi
1029    
1030    AC_ARG_ENABLE(master-volume-sysex-by-port,
1031      [  --enable-master-volume-sysex-by-port
1032                              Whether global volume sysex message should be
1033                              applied globally to the whole sampler or only to
1034                              the sampler channels connected to the same MIDI
1035                              input port on which the sysex message arrived on.
1036                              By default global volume sysex messages apply
1037                              globally to the whole sampler, since many MIDI
1038                              devices behave that way.],
1039      [config_master_volume_sysex_by_port="$enableval"],
1040      [config_master_volume_sysex_by_port="no"]
1041    )
1042    if test "$config_master_volume_sysex_by_port" = "yes"; then
1043      AC_DEFINE_UNQUOTED(CONFIG_MASTER_VOLUME_SYSEX_BY_PORT, 1, [Define to 1 if you want global volume sysex message only be applied to the respective MIDI port.])
1044    fi
1045    
1046  AC_ARG_ENABLE(plugin-dir,  AC_ARG_ENABLE(plugin-dir,
1047    [  --enable-plugin-dir    [  --enable-plugin-dir
1048                            Directory where the sampler shall look for potential plugins,                            Directory where the sampler shall look for potential plugins,
# Line 1116  AM_CONFIG_HEADER(config.h) Line 1169  AM_CONFIG_HEADER(config.h)
1169  AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD")  AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD")
1170    
1171  AC_LANG_CPLUSPLUS  AC_LANG_CPLUSPLUS
 AC_PROG_CXX  
1172    
1173  # some gcc 4.0 versions need -msse for SSE register allocations  # some gcc 4.0 versions need -msse for SSE register allocations
1174  if test "$config_asm" = "yes"; then  if test "$config_asm" = "yes"; then
# Line 1146  AC_OUTPUT( \ Line 1198  AC_OUTPUT( \
1198      src/drivers/audio/Makefile \      src/drivers/audio/Makefile \
1199      src/drivers/midi/Makefile \      src/drivers/midi/Makefile \
1200      src/plugins/Makefile \      src/plugins/Makefile \
1201        src/hostplugins/Makefile \
1202        src/hostplugins/dssi/Makefile \
1203        src/hostplugins/lv2/Makefile \
1204        src/hostplugins/vst/Makefile \
1205      linuxsampler.spec \      linuxsampler.spec \
1206      debian/Makefile \      debian/Makefile \
1207      Artwork/Makefile \      Artwork/Makefile \
# Line 1206  echo "# Override Filter Type: ${config_o Line 1262  echo "# Override Filter Type: ${config_o
1262  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
1263  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
1264  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"
1265    echo "# Apply global volume SysEx by MIDI port: ${config_master_volume_sysex_by_port}"
1266  echo "# Interpolate Volume: ${config_interpolate_volume}"  echo "# Interpolate Volume: ${config_interpolate_volume}"
1267  echo "# Instruments database support: ${config_instruments_db}"  echo "# Instruments database support: ${config_instruments_db}"
1268  if test "$config_instruments_db" = "yes"; then  if test "$config_instruments_db" = "yes"; then

Legend:
Removed from v.1722  
changed lines
  Added in v.1777

  ViewVC Help
Powered by ViewVC