/[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 2197 by persson, Sat Jul 2 09:55:42 2011 UTC revision 2343 by persson, Sun Apr 29 16:14:45 2012 UTC
# Line 5  AC_INIT(configure.in) Line 5  AC_INIT(configure.in)
5    
6  LINUXSAMPLER_RELEASE_MAJOR=1  LINUXSAMPLER_RELEASE_MAJOR=1
7  LINUXSAMPLER_RELEASE_MINOR=0  LINUXSAMPLER_RELEASE_MINOR=0
8  LINUXSAMPLER_RELEASE_BUILD=0.cvs10  LINUXSAMPLER_RELEASE_BUILD=0.svn18
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 512  AC_CHECK_HEADERS(dssi.h, Line 512  AC_CHECK_HEADERS(dssi.h,
512  AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes")  AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes")
513    
514  # LV2  # LV2
515  PKG_CHECK_MODULES(LV2, lv2core, config_have_lv2="yes", config_have_lv2="no")  PKG_CHECK_MODULES(LV2, lv2,
516  if test $config_have_lv2 = "no"; then    [config_have_lv2="yes"
517      AC_CHECK_HEADER(lv2.h, config_have_lv2="yes", config_have_lv2="no")    AC_DEFINE(HAVE_LV2_PACKAGE, 1,
518  fi              [Define to 1 if you have the lv2 package installed.])],
519      [config_have_lv2="no"
520      PKG_CHECK_MODULES(LV2, lv2core, config_have_lv2="yes",
521        [AC_CHECK_HEADER(lv2.h, config_have_lv2="yes")])])
522    
523    AC_SUBST(LV2_CFLAGS)
524    AC_SUBST(LV2_LIBS)
525  AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")  AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")
526    
527  # VST  # VST
# Line 552  if test $config_have_au = "yes" ; then Line 558  if test $config_have_au = "yes" ; then
558      AC_SUBST(DEVELOPER_EXTRAS_DIR)      AC_SUBST(DEVELOPER_EXTRAS_DIR)
559  fi  fi
560    
561    if test "x$MAC_PLUGIN_INSTALL_DIR" = "x" ; then
562        MAC_PLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins
563    fi
564    AC_SUBST(MAC_PLUGIN_INSTALL_DIR)
565    
566  # 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 ?
567  if test "$have_midi_input_driver" = "false"; then  if test "$have_midi_input_driver" = "false"; then
568      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
# Line 623  AC_SUBST(SNDFILE_LIBS) Line 634  AC_SUBST(SNDFILE_LIBS)
634  # Check for Vorbis support in libsndfile  # Check for Vorbis support in libsndfile
635  linuxsampler_save_CFLAGS=$CFLAGS  linuxsampler_save_CFLAGS=$CFLAGS
636  CFLAGS="$SNDFILE_CFLAGS $CFLAGS"  CFLAGS="$SNDFILE_CFLAGS $CFLAGS"
637  AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [] ,[[#include <sndfile.h>]])  AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [], [[#include <sndfile.h>]])
638    
639  # Check for loop functionality in libsndfile  # Check for loop functionality in libsndfile
640  AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],,  AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],,
# Line 735  AC_ARG_ENABLE(pthread-testcancel, Line 746  AC_ARG_ENABLE(pthread-testcancel,
746                            asynchronous cancel of pthreads (default=yes                            asynchronous cancel of pthreads (default=yes
747                            for Mac targets, no otherwise).],                            for Mac targets, no otherwise).],
748    [config_pthread_testcancel="$enableval"],    [config_pthread_testcancel="$enableval"],
749    []    [])
 )  
750  if test "$config_pthread_testcancel" = "yes"; then  if test "$config_pthread_testcancel" = "yes"; then
751    AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.])    AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.])
752  fi  fi

Legend:
Removed from v.2197  
changed lines
  Added in v.2343

  ViewVC Help
Powered by ViewVC