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

Diff of /linuxsampler/trunk/configure.in

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

revision 1560 by schoenebeck, Thu Dec 6 17:19:16 2007 UTC revision 1742 by schoenebeck, Wed May 28 04:00:48 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  LINUXSAMPLER_RELEASE_BUILD=1.5cvs
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 33  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT Line 33  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT
33  # the LSCP specification version this LinuSampler release complies with:  # the LSCP specification version this LinuSampler release complies with:
34    
35  LSCP_RELEASE_MAJOR=1  LSCP_RELEASE_MAJOR=1
36  LSCP_RELEASE_MINOR=3  LSCP_RELEASE_MINOR=4
37    
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  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
43    
44  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
# Line 52  AC_SUBST(target_cpu) Line 53  AC_SUBST(target_cpu)
53  AC_SUBST(target_os)  AC_SUBST(target_os)
54  AC_SUBST(target_vendor)  AC_SUBST(target_vendor)
55    
56    PKG_PROG_PKG_CONFIG
57    
58  ###########################################################################  ###########################################################################
59  # General Checks  # General Checks
# Line 160  else Line 162  else
162      echo "NPTL glibc bug check disabled"      echo "NPTL glibc bug check disabled"
163  fi  fi
164    
165    # FIXME: this is actually a dependency of libgig, not of LS directly, why
166    # isn't it hidden by libgig?
167    AC_CHECK_HEADERS(uuid/uuid.h)
168    AC_SEARCH_LIBS(uuid_generate, uuid)
169    
170    
171    
172  ###########################################################################  ###########################################################################
# Line 272  fi Line 279  fi
279  AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1")  AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1")
280  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.])  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.])
281    
282    # JACK MIDI
283    have_jack_midi=0
284    if test $have_jack = "1"; then
285        linuxsampler_save_CFLAGS=$CFLAGS
286        linuxsampler_save_LIBS=$LIBS
287        CFLAGS="$JACK_CFLAGS $CFLAGS"
288        LIBS="$JACK_LIBS $LIBS"
289        AC_CHECK_HEADER(jack/midiport.h, have_jack_midi=1, have_jack_midi=0)
290        if test $have_jack_midi = "1"; then
291            AC_CHECK_FUNCS(jack_midi_get_event_count)
292            AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[
293                jack_midi_clear_buffer(0, 0);
294            ]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1,
295                      [Define to 1 if you have the old jack midi functions that need an nframes argument.])])
296            have_midi_input_driver="true"
297        fi
298        CFLAGS=$linuxsampler_save_CFLAGS
299        LIBS=$linuxsampler_save_LIBS
300    fi
301    AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1")
302    AC_DEFINE_UNQUOTED(HAVE_JACK_MIDI, $have_jack_midi,
303                       [Define to 1 if you have JACK with MIDI support installed.])
304    
305  # ARTS  # ARTS
306  AC_ARG_ENABLE(arts-driver,  AC_ARG_ENABLE(arts-driver,
307    [  --disable-arts-driver    [  --disable-arts-driver
# Line 407  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_m Line 437  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_m
437  if test "$have_midi_input_driver" = "false"; then  if test "$have_midi_input_driver" = "false"; then
438      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
439      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"
440      echo "ALSA, MIDIShare, CoreMIDI."      echo "ALSA, JACK, MIDIShare, CoreMIDI, MME."
441      echo "If you think you have one of those available on your system, make sure you"      echo "If you think you have one of those available on your system, make sure you"
442      echo "also have the respective development (header) files installed."      echo "also have the respective development (header) files installed."
443      exit -1;      exit -1;
444  fi  fi
445  if test "$have_audio_output_driver" = "false"; then  if test "$have_audio_output_driver" = "false"; then
446      echo "No supported audio output system found!"      echo "No supported audio output system found!"
447      echo "Sorry, LinuxSampler only supports ALSA, JACK and ARTS as audio output"      echo "Sorry, LinuxSampler only supports ALSA, JACK, ARTS and ASIO as audio output"
448      echo "driver at the moment!"      echo "driver at the moment!"
449      exit -1;      exit -1;
450  fi  fi
# Line 532  if test "$config_rt_exceptions" = "yes"; Line 562  if test "$config_rt_exceptions" = "yes";
562    AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.])    AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.])
563  fi  fi
564    
565    AC_ARG_ENABLE(pthread-testcancel,
566      [  --enable-pthread-testcancel
567                              Enable pthread_testcancel() calls and avoid asynchronous
568                              cancel of pthreads (default=no).],
569      [config_pthread_testcancel="$enableval"],
570      [config_pthread_testcancel="no"]
571    )
572    if test "$config_pthread_testcancel" = "yes"; then
573      AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.])
574    fi
575    
576  AC_ARG_ENABLE(preload-samples,  AC_ARG_ENABLE(preload-samples,
577    [  --enable-preload-samples    [  --enable-preload-samples
578                            Due to seeking and latency issues with hard drives                            Due to seeking and latency issues with hard drives
# Line 1081  AM_CONFIG_HEADER(config.h) Line 1122  AM_CONFIG_HEADER(config.h)
1122  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")
1123    
1124  AC_LANG_CPLUSPLUS  AC_LANG_CPLUSPLUS
 AC_PROG_CXX  
1125    
1126  # some gcc 4.0 versions need -msse for SSE register allocations  # some gcc 4.0 versions need -msse for SSE register allocations
1127  if test "$config_asm" = "yes"; then  if test "$config_asm" = "yes"; then
# Line 1104  AC_OUTPUT( \ Line 1144  AC_OUTPUT( \
1144      src/engines/Makefile \      src/engines/Makefile \
1145      src/engines/gig/Makefile \      src/engines/gig/Makefile \
1146      src/engines/common/Makefile \      src/engines/common/Makefile \
1147        src/effects/Makefile \
1148      src/common/Makefile \      src/common/Makefile \
1149      src/testcases/Makefile \      src/testcases/Makefile \
1150      src/drivers/Makefile \      src/drivers/Makefile \

Legend:
Removed from v.1560  
changed lines
  Added in v.1742

  ViewVC Help
Powered by ViewVC