/[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 716 by iliev, Sun Jul 24 06:57:30 2005 UTC revision 1639 by schoenebeck, Sat Jan 12 14:13:46 2008 UTC
# Line 4  AC_INIT(configure.in) Line 4  AC_INIT(configure.in)
4  # LinuxSampler's / liblinuxsampler's "official" release version:  # LinuxSampler's / liblinuxsampler's "official" release version:
5    
6  LINUXSAMPLER_RELEASE_MAJOR=0  LINUXSAMPLER_RELEASE_MAJOR=0
7  LINUXSAMPLER_RELEASE_MINOR=3  LINUXSAMPLER_RELEASE_MINOR=5
8  LINUXSAMPLER_RELEASE_BUILD=3  LINUXSAMPLER_RELEASE_BUILD=1
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 24  LINUXSAMPLER_RELEASE_BUILD=3 Line 24  LINUXSAMPLER_RELEASE_BUILD=3
24  #  6. If any interfaces have been removed since the last public release, then set age  #  6. If any interfaces have been removed since the last public release, then set age
25  #     to 0.  #     to 0.
26    
27  LIBLINUXSAMPLER_LT_CURRENT=0  LIBLINUXSAMPLER_LT_CURRENT=2
28  LIBLINUXSAMPLER_LT_REVISION=0  LIBLINUXSAMPLER_LT_REVISION=0
29  LIBLINUXSAMPLER_LT_AGE=0  LIBLINUXSAMPLER_LT_AGE=1
30  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE"  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE"
31    
32    #------------------------------------------------------------------------------------
33    # the LSCP specification version this LinuSampler release complies with:
34    
35    LSCP_RELEASE_MAJOR=1
36    LSCP_RELEASE_MINOR=3
37    
38    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.])
40    
41  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
42    
43  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
# Line 43  AC_SUBST(target_cpu) Line 52  AC_SUBST(target_cpu)
52  AC_SUBST(target_os)  AC_SUBST(target_os)
53  AC_SUBST(target_vendor)  AC_SUBST(target_vendor)
54    
55    PKG_PROG_PKG_CONFIG
56    
57  ###########################################################################  ###########################################################################
58  # General Checks  # General Checks
# Line 59  esac Line 69  esac
69  AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.])  AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.])
70    
71  # determine the right gcc switch for CPU specific optimizations  # determine the right gcc switch for CPU specific optimizations
72    # (only if the user did not provide one)
73  CXX_CPU_SWITCH=  CXX_CPU_SWITCH=
74  if test "$def_arch_x86" = 1; then  if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then
75    CXX_CPU_SWITCH="-march=$target_cpu"    if test "$def_arch_x86" = 1; then
76  elif test "$target_cpu" = "powerpc"; then      CXX_CPU_SWITCH="-march=$target_cpu"
77    CXX_CPU_SWITCH="-arch=$target_cpu"    elif test "$target_cpu" = "ppc"; then
78        CXX_CPU_SWITCH="-arch=$target_cpu"
79      fi
80  fi  fi
81  AC_SUBST([CXX_CPU_SWITCH])  AC_SUBST([CXX_CPU_SWITCH])
82    
83    # check if we're on MS Windows
84    AC_CHECK_HEADERS(
85        mmsystem.h,
86        have_windows=1,
87        have_windows=0
88    )
89    AM_CONDITIONAL(HAVE_WINDOWS, test $have_windows = "1")
90    
91  AC_MSG_CHECKING([whether UNIX98 compatible])  AC_MSG_CHECKING([whether UNIX98 compatible])
92  AC_LANG_SAVE  AC_LANG_SAVE
93  AC_LANG_C  AC_LANG_C
# Line 89  have_unix98="no" Line 110  have_unix98="no"
110  )  )
111  AC_LANG_RESTORE  AC_LANG_RESTORE
112  AC_MSG_RESULT([$have_unix98])  AC_MSG_RESULT([$have_unix98])
113  if test "$have_unix98" = "no"; then  if test "$have_unix98" = "no" -a "have_windows" = "0"; then
114      if test "x$HAVE_UNIX98" = "x"; then      if test "x$HAVE_UNIX98" = "x"; then
115          echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for"          echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for"
116          echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run          echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run
# Line 99  if test "$have_unix98" = "no"; then Line 120  if test "$have_unix98" = "no"; then
120      fi      fi
121  fi  fi
122    
123    # check for <features.h>
124    AC_CHECK_HEADERS(features.h)
125    
126    # test for POSIX thread library
127    m4_ifdef([m4_include(m4/pthread.m4)],,
128                 [sinclude([m4/pthread.m4])])
129    ACX_PTHREAD
130    LIBS="$PTHREAD_LIBS $LIBS"
131    CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
132    CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
133    CC="$PTHREAD_CC"
134    
135    # check for a bug in NPTL-enabled glibc
136    # (see Gentoo bug report #194076)
137    AC_ARG_ENABLE(nptl-bug-check,
138      [  --disable-nptl-bug-check
139                              Disable check for a bug in certain NPTL-enabled
140                              glibc versions that caused crashs.],
141      [config_check_nptl_bug="$enableval"],
142      [config_check_nptl_bug="yes"]
143    )
144    if test "$config_check_nptl_bug" = "yes"; then
145        m4_ifdef([m4_include(m4/nptl_bug.m4)],,
146                 [sinclude([m4/nptl_bug.m4])])
147        ACX_NPTL_GLIBC_BUG([
148            echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
149            echo "You seem to have a buggy PTHREAD library! LinuxSampler would"
150            echo "probably crash due to this. Please report us the system you are"
151            echo "using and/or file a bug report to the bug tracking system of"
152            echo "your distribution."
153            echo "If you have a NPTL-enabled glibc AND it was compiled for TLS as"
154            echo "well, you can try to circumvent this problem for now by setting"
155            echo "the environment variable LD_ASSUME_KERNEL=\"2.4.1\" , which"
156            echo "should cause this test to pass."
157            echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
158            AC_MSG_ERROR([possibly NPTL glibc bug detected])
159        ])
160    else
161        echo "NPTL glibc bug check disabled"
162    fi
163    
164    
165    
166    ###########################################################################
167  # Checks for available audio and MIDI systems / drivers  # Checks for available audio and MIDI systems / drivers
168  # (we throw an error if there's not at least one system for audio output and MIDI input available)  # (we throw an error if there's not at least one system for audio output and MIDI input available)
169    
170  have_midi_input_driver="false"  have_midi_input_driver="false"
171  have_audio_output_driver="false"  have_audio_output_driver="false"
172    
173  AC_CHECK_HEADER(alsa/asoundlib.h,  # ALSA
174      AC_CHECK_LIB(asound, main,  AC_ARG_ENABLE(alsa-driver,
175                               have_alsa=1    [  --disable-alsa-driver
176                               ,                            Disable support for the Advanced Linux Sound
177                               have_alsa=0                            Architecture (ALSA).],
178                  )    [config_alsa_driver="$enableval"],
179                  ,    [config_alsa_driver="yes"]
180                  have_alsa=0  )
181  )  have_alsa=0
182  if test "$have_alsa" = "1"; then  if test "$config_alsa_driver" = "yes"; then
183      have_midi_input_driver="true"      AC_CHECK_HEADER(alsa/asoundlib.h,
184      have_audio_output_driver="true";          AC_CHECK_LIB(asound, main,
185                                     have_alsa=1
186                                     ,
187                                     have_alsa=0
188                        )
189                        ,
190                        have_alsa=0
191        )
192        if test "$have_alsa" = "1"; then
193            have_midi_input_driver="true"
194            have_audio_output_driver="true";
195        fi
196    
197        echo -n "checking Alsa version... "
198        AC_LANG_SAVE
199        AC_LANG_C
200        AC_TRY_RUN([
201            #include <alsa/asoundlib.h>
202            void main(void) {
203                /* ensure backward compatibility */
204                #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
205                #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
206                #endif
207                exit(SND_LIB_MAJOR);
208            }
209        ],
210        alsa_major=0,
211        alsa_major=$?,
212        alsa_major=0
213        )
214        AC_TRY_RUN([
215            #include <alsa/asoundlib.h>
216            void main(void) {
217                /* ensure backward compatibility */
218                #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
219                #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
220                #endif
221                exit(SND_LIB_MINOR);
222            }
223        ],
224        alsa_minor=0,
225        alsa_minor=$?,
226        alsa_minor=0
227        )
228        AC_TRY_RUN([
229            #include <alsa/asoundlib.h>
230            void main(void) {
231                /* ensure backward compatibility */
232                #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
233                #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
234                #endif
235                exit(SND_LIB_SUBMINOR);
236            }
237        ],
238        alsa_subminor=0,
239        alsa_subminor=$?,
240        alsa_subminor=0
241        )
242        AC_LANG_RESTORE
243        echo "$alsa_major.$alsa_minor.$alsa_subminor";
244        AC_DEFINE_UNQUOTED(ALSA_MAJOR,$alsa_major,[Define to the major version number of your Alsa installation.])
245        AC_DEFINE_UNQUOTED(ALSA_MINOR,$alsa_minor,[Define to the minor version number of your Alsa installation.])
246        AC_DEFINE_UNQUOTED(ALSA_SUBMINOR,$alsa_subminor,[Define to the subminor version number of your Alsa installation.])
247    else
248        echo "ALSA support disabled by configure script parameter"
249  fi  fi
250  AM_CONDITIONAL(HAVE_ALSA, test $have_alsa = "1")  AM_CONDITIONAL(HAVE_ALSA, test $have_alsa = "1")
251  AC_DEFINE_UNQUOTED(HAVE_ALSA,$have_alsa,[Define to 1 if you have ALSA installed.])  AC_DEFINE_UNQUOTED(HAVE_ALSA,$have_alsa,[Define to 1 if you have ALSA installed.])
252    
 echo -n "checking Alsa version... "  
 AC_LANG_SAVE  
 AC_LANG_C  
 AC_TRY_RUN([  
 #include <alsa/asoundlib.h>  
 void main(void) {  
 /* ensure backward compatibility */  
 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)  
 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR  
 #endif  
 exit(SND_LIB_MAJOR);  
 }  
 ],  
 alsa_major=0,  
 alsa_major=$?,  
 alsa_major=0  
 )  
 AC_TRY_RUN([  
 #include <alsa/asoundlib.h>  
 void main(void) {  
 /* ensure backward compatibility */  
 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)  
 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR  
 #endif  
 exit(SND_LIB_MINOR);  
 }  
 ],  
 alsa_minor=0,  
 alsa_minor=$?,  
 alsa_minor=0  
 )  
 AC_TRY_RUN([  
 #include <alsa/asoundlib.h>  
 void main(void) {  
 /* ensure backward compatibility */  
 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)  
 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR  
 #endif  
 exit(SND_LIB_SUBMINOR);  
 }  
 ],  
 alsa_subminor=0,  
 alsa_subminor=$?,  
 alsa_subminor=0  
 )  
 AC_LANG_RESTORE  
 echo "$alsa_major.$alsa_minor.$alsa_subminor";  
 AC_DEFINE_UNQUOTED(ALSA_MAJOR,$alsa_major,[Define to the major version number of your Alsa installation.])  
 AC_DEFINE_UNQUOTED(ALSA_MINOR,$alsa_minor,[Define to the minor version number of your Alsa installation.])  
 AC_DEFINE_UNQUOTED(ALSA_SUBMINOR,$alsa_subminor,[Define to the subminor version number of your Alsa installation.])  
   
253  # JACK  # JACK
254  PKG_CHECK_MODULES(JACK, jack, HAVE_JACK=true, HAVE_JACK=false)  AC_ARG_ENABLE(jack-driver,
255  AC_SUBST(JACK_LIBS)    [  --disable-jack-driver
256  AC_SUBST(JACK_CFLAGS)                            Disable support for the Jack Audio Connection Kit
257  if test $HAVE_JACK = false; then                            (JACK).],
258      HAVE_JACK=0;    [config_jack_driver="$enableval"],
259  else    [config_jack_driver="yes"]
260      HAVE_JACK=1  )
261      have_audio_output_driver="true";  have_jack=0
262      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)  if test "$config_jack_driver" = "yes"; then
263        PKG_CHECK_MODULES(JACK, jack, have_jack=1, have_jack=0)
264        if test $have_jack = "1"; then
265            AC_SUBST(JACK_LIBS)
266            AC_SUBST(JACK_CFLAGS)
267            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)
268            have_audio_output_driver="true";
269        fi
270    else
271        echo "JACK support disabled by configure script parameter"
272    fi
273    AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1")
274    AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.])
275    
276    # ARTS
277    AC_ARG_ENABLE(arts-driver,
278      [  --disable-arts-driver
279                              Disable support for the Analogue Realtime System
280                              (aRts).],
281      [config_arts_driver="$enableval"],
282      [config_arts_driver="yes"]
283    )
284    have_arts=0
285    if test "$config_arts_driver" = "yes"; then
286        m4_ifdef([m4_include(m4/arts.m4)],,
287                 [sinclude([m4/arts.m4])])
288        AM_PATH_ARTS(0.9.5, have_arts=1, have_arts=0)
289        if test "$have_arts" = "1"; then
290            have_audio_output_driver="true"
291        fi
292    else
293        echo "ARTS support disabled by configure script parameter"
294  fi  fi
295  AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1)  AM_CONDITIONAL(HAVE_ARTS, test "$have_arts" = "1")
296  AC_DEFINE_UNQUOTED(HAVE_JACK,$HAVE_JACK,[Define to 1 if you have JACK installed.])  AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts,[Define to 1 if you have aRts installed.])
297    
298    # ASIO AUDIO (Win32)
299    AC_ARG_ENABLE(asiosdk-dir,
300      [  --enable-asiosdk-dir
301                              Directory where the ASIO SDK is located, this automatically
302                              enables the compilation of the ASIO audio output driver.],
303      [config_asiosdk_dir="${enableval}"],
304      [config_asiosdk_dir="."]
305    )
306    AC_SUBST(config_asiosdk_dir)
307    
308    AC_ARG_ENABLE(asio-driver,
309      [  --disable-asio-driver
310                              Disable support for the Windows ASIO driver.],
311      [config_asio_driver="$enableval"],
312      [config_asio_driver="yes"]
313    )
314    have_asio=0
315    ASIOSDK_BASEDIR=
316    if test "$config_asio_driver" = "yes"; then
317        asiosdk_headerfile=$config_asiosdk_dir/ASIOSDK2/common/asio.h
318        echo -n "checking for ASIO headerfile: $asiosdk_headerfile ...."
319        if test -e $asiosdk_headerfile ; then
320            echo yes
321            have_asio=1
322            ASIOSDK_BASEDIR="$config_asiosdk_dir"
323        else
324            echo no
325            have_asio=0
326        fi
327        if test "$have_asio" = "1"; then
328            have_audio_output_driver="true"
329        fi
330    else
331        echo "Windows ASIO support disabled by configure script parameter"
332    fi
333    AC_SUBST(ASIOSDK_BASEDIR)
334    AM_CONDITIONAL(HAVE_ASIO, test $have_asio = "1")
335    AC_DEFINE_UNQUOTED(HAVE_ASIO,$have_asio,[Define to 1 if you have ASIO installed.])
336    
337  # MidiShare (Linux, OS X, Windows)  # MidiShare (Linux, OS X, Windows)
338  AC_CHECK_HEADER(MidiShare.h,  AC_ARG_ENABLE(midishare-driver,
339      AC_CHECK_LIB(MidiShare, MidiCountEvs,    [  --disable-midishare-driver
340                              have_midishare=1,                            Disable support for the MidiShare system.],
341                              have_midishare=0    [config_midishare_driver="$enableval"],
342                  )    [config_midishare_driver="yes"]
343                  ,  )
344                  have_midishare=0  have_midishare=0
345  )  if test "$config_midishare_driver" = "yes"; then
346  if test "$have_midishare" = "1"; then      AC_CHECK_HEADER(MidiShare.h,
347      have_midi_input_driver="true"          AC_CHECK_LIB(MidiShare, MidiCountEvs,
348                                    have_midishare=1,
349                                    have_midishare=0
350                        )
351                        ,
352                        have_midishare=0
353        )
354        if test "$have_midishare" = "1"; then
355            have_midi_input_driver="true"
356        fi
357    else
358        echo "MidiShare support disabled by configure script parameter"
359  fi  fi
360  AM_CONDITIONAL(HAVE_MIDISHARE, test $have_midishare = "1")  AM_CONDITIONAL(HAVE_MIDISHARE, test $have_midishare = "1")
361  AC_DEFINE_UNQUOTED(HAVE_MIDISHARE,$have_midishare,[Define to 1 if you have MidiShare installed.])  AC_DEFINE_UNQUOTED(HAVE_MIDISHARE,$have_midishare,[Define to 1 if you have MidiShare installed.])
362    
363  # CoreMIDI (OS X)  # CoreMIDI (OS X)
364  AC_CHECK_HEADER(CoreMIDI/CoreMIDI.h,  AC_ARG_ENABLE(coremidi-driver,
365                  have_coremidi=1,    [  --disable-coremidi-driver
366                  have_coremidi=0                            Disable support for the Apple CoreMIDI system.],
367  )    [config_coremidi_driver="$enableval"],
368  if test "$have_coremidi" = "1"; then    [config_coremidi_driver="yes"]
369      have_midi_input_driver="true"  )
370    have_coremidi=0
371    if test "$config_coremidi_driver" = "yes"; then
372        AC_CHECK_HEADER(CoreMIDI/CoreMIDI.h,
373            have_coremidi=1,
374            have_coremidi=0
375        )
376        if test "$have_coremidi" = "1"; then
377            have_midi_input_driver="true"
378        fi
379    else
380        echo "CoreMIDI support disabled by configure script parameter"
381  fi  fi
382  AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1")  AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1")
383  AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.])  AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.])
384    
385    # MME MIDI (Win32)
386    AC_ARG_ENABLE(mmemidi-driver,
387      [  --disable-mmemidi-driver
388                              Disable support for the Windows MME MIDI system.],
389      [config_mmemidi_driver="$enableval"],
390      [config_mmemidi_driver="yes"]
391    )
392    have_mmemidi=0
393    if test "$config_mmemidi_driver" = "yes"; then
394        AC_CHECK_HEADERS(mmsystem.h,
395            have_mmemidi=1,
396            have_mmemidi=0
397        )
398        if test "$have_mmemidi" = "1"; then
399            have_midi_input_driver="true"
400        fi
401    else
402        echo "MME MIDI support disabled by configure script parameter"
403    fi
404    AM_CONDITIONAL(HAVE_MME_MIDI, test $have_mmemidi = "1")
405    AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_mmemidi,[Define to 1 if you have MME MIDI installed.])
406    
407    # have we found at least one MIDI input and one audio output driver ?
408    if test "$have_midi_input_driver" = "false"; then
409        echo "No supported MIDI input system found!"
410        echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"
411        echo "ALSA, MIDIShare, CoreMIDI."
412        echo "If you think you have one of those available on your system, make sure you"
413        echo "also have the respective development (header) files installed."
414        exit -1;
415    fi
416    if test "$have_audio_output_driver" = "false"; then
417        echo "No supported audio output system found!"
418        echo "Sorry, LinuxSampler only supports ALSA, JACK and ARTS as audio output"
419        echo "driver at the moment!"
420        exit -1;
421    fi
422    
423    
424    
425    ###########################################################################
426    # Checks for various DLL libraries
427    
428  # Check presence of libgig  # Check presence of libgig
429  libgig_version="2.0.1"  libgig_version="3.2.1"
430  PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false)  PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false)
431  if test "$HAVE_GIG" = "false"; then  if test "$HAVE_GIG" = "false"; then
432      echo "Required libgig version not found!"      echo "Required libgig version not found!"
# Line 224  fi Line 438  fi
438  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
439  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
440    
441  # SQLITE3  # Instruments DB feature (requires SQLite 3.3)
442  PKG_CHECK_MODULES(SQLITE3, sqlite3, HAVE_SQLITE3=true, HAVE_SQLITE3=false)  AC_ARG_ENABLE(instruments-db,
443  AC_SUBST(SQLITE3_LIBS)    [  --disable-instruments-db
444  AC_SUBST(SQLITE3_CFLAGS)                            Disable compilation of the sampler's instruments
445  if test $HAVE_SQLITE3 = false; then                            database feature. You need to have SQLite 3.3
446      HAVE_SQLITE3=0;                            or younger installed for this feature.],
447      echo "no, support for instrument DB will be disabled!"    [config_instruments_db="$enableval"],
448      [config_instruments_db="yes"]
449    )
450    HAVE_SQLITE3=0;
451    if test "$config_instruments_db" = "yes"; then
452        # Check presence of sqlite3
453        sqlite_version="3.3"
454        PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false)
455        AC_SUBST(SQLITE3_LIBS)
456        AC_SUBST(SQLITE3_CFLAGS)
457        if test $HAVE_SQLITE3 = false; then
458            HAVE_SQLITE3=0
459            config_instruments_db="no"
460            echo "*** Required sqlite version not found!"
461            echo "*** You need to have sqlite version ${sqlite_version} or higher"
462            echo "*** for instruments database support to be enabled."
463            echo "*** Support for instruments DB will be disabled!"
464        else
465            HAVE_SQLITE3=1
466        fi
467  else  else
468      HAVE_SQLITE3=1      echo "Instruments DB feature disabled by configure script parameter"
     echo "yes"  
469  fi  fi
470  AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1)  AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1)
471  AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you have SQLITE3 installed.])  AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you want the instruments DB feature and have SQLITE3 installed.])
472    
 if test "$have_midi_input_driver" = "false"; then  
     echo "No supported MIDI input system found!"  
     echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"  
     echo "ALSA, MIDIShare, CoreMIDI."  
     echo "If you think you have one of those available on your system, make sure you"  
     echo "also have the respective development (header) files installed."  
     exit -1;  
 fi  
 if test "$have_audio_output_driver" = "false"; then  
     echo "No supported audio output system found!"  
     echo "Sorry, LinuxSampler only supports ALSA and JACK as audio output driver at the moment!"  
     exit -1;  
 fi  
473    
474    
475  ###########################################################################  ###########################################################################
# Line 260  fi Line 479  fi
479    
480  AC_ARG_ENABLE(asm,  AC_ARG_ENABLE(asm,
481    [  --disable-asm    [  --disable-asm
482                            Disable hand-crafted assembly optimizations                            Enable hand-crafted assembly optimizations
483                            (default=on). LinuxSampler provides CPU specific                            (default=on). LinuxSampler provides CPU specific
484                            assembly optimizations for the most important                            assembly optimizations. This is currently limited
485                            synthesis algorithms. You usually don't want to                            to just enter a fast (denormal) FPU mode on x86
486                            disable that.],                            platforms. There are currently no synthesis core
487    [config_asm="no"],                            assembly optimizations anymore since LS 0.4.0],
488      [config_asm="$enableval"],
489    [config_asm="yes"]    [config_asm="yes"]
490  )  )
491  if test "$config_asm" = "yes"; then  if test "$config_asm" = "yes"; then
492    AC_DEFINE_UNQUOTED(CONFIG_ASM, 1, [Define to 1 if you want to enable hand-crafted asm optimizations.])    AC_DEFINE_UNQUOTED(CONFIG_ASM, 1, [Define to 1 if you want to enable asm optimizations.])
493  fi  fi
494    
495  AC_ARG_ENABLE(dev-mode,  AC_ARG_ENABLE(dev-mode,
496    [  --enable-dev-mode    [  --enable-dev-mode
497                            Enable development mode (default=no). In that mode                            Enable development mode (default=off). In that mode
498                            we do some extra sanity checks here and there.                            we do some extra sanity checks here and there.
499                            This helps to spot possible problems, but reduces                            This helps to spot possible problems, but reduces
500                            efficiency a bit],                            efficiency a bit],
501    [config_dev_mode="yes"],    [config_dev_mode="$enableval"],
502    [config_dev_mode="no"]    [config_dev_mode="no"]
503  )  )
504  if test "$config_dev_mode" = "yes"; then  if test "$config_dev_mode" = "yes"; then
# Line 306  AC_ARG_ENABLE(rt-exceptions, Line 526  AC_ARG_ENABLE(rt-exceptions,
526                            context as well. Otherwise if disabled                            context as well. Otherwise if disabled
527                            segmentation faults will be forced by the                            segmentation faults will be forced by the
528                            application on critical errors.],                            application on critical errors.],
529    [config_rt_exceptions="yes"],    [config_rt_exceptions="$enableval"],
530    [config_rt_exceptions="no"]    [config_rt_exceptions="no"]
531  )  )
532  if test "$config_rt_exceptions" = "yes"; then  if test "$config_rt_exceptions" = "yes"; then
# Line 436  AC_ARG_ENABLE(max-voices, Line 656  AC_ARG_ENABLE(max-voices,
656  )  )
657  AC_DEFINE_UNQUOTED(CONFIG_MAX_VOICES, $config_max_voices, [Define max. voices.])  AC_DEFINE_UNQUOTED(CONFIG_MAX_VOICES, $config_max_voices, [Define max. voices.])
658    
659    AC_ARG_ENABLE(subfragment-size,
660      [  --enable-subfragment-size
661                              Every audio fragment will be splitted into
662                              subfragments. Where each subfragment renders
663                              audio with constant synthesis parameters. This is
664                              done for efficiency reasons. This parameter
665                              defines the default size of a subfragment in
666                              sample points. A large value means less CPU time
667                              whereas a low value means better audio quality
668                              (default=32).],
669      [config_subfragment_size="${enableval}"],
670      [config_subfragment_size="32"]
671    )
672    AC_DEFINE_UNQUOTED(CONFIG_DEFAULT_SUBFRAGMENT_SIZE, $config_subfragment_size, [Define default subfragment size (in sample points).])
673    
674    AC_ARG_ENABLE(global-attenuation-default,
675      [  --enable-global-attenuation-default
676                              To prevent clipping all samples will be lowered
677                              in amplitude by this given default factor (can
678                              be overridden at runtime).
679                              (default=0.35)],
680      [config_global_attenuation_default="${enableval}"],
681      [config_global_attenuation_default="0.35"]
682    )
683    AC_DEFINE_UNQUOTED(CONFIG_GLOBAL_ATTENUATION_DEFAULT, $config_global_attenuation_default, [Define default global volume attenuation (as floating point factor).])
684    
685  AC_ARG_ENABLE(voice-steal-algo,  AC_ARG_ENABLE(voice-steal-algo,
686    [  --enable-voice-steal-algo    [  --enable-voice-steal-algo
687                            Voice stealing algorithm to be used. Currently                            Voice stealing algorithm to be used. Currently
# Line 469  AC_ARG_ENABLE(sysex-buffer-size, Line 715  AC_ARG_ENABLE(sysex-buffer-size,
715  )  )
716  AC_DEFINE_UNQUOTED(CONFIG_SYSEX_BUFFER_SIZE, $config_sysex_buffer_size, [Define SysEx buffer size.])  AC_DEFINE_UNQUOTED(CONFIG_SYSEX_BUFFER_SIZE, $config_sysex_buffer_size, [Define SysEx buffer size.])
717    
 AC_ARG_ENABLE(filter-update-steps,  
   [  --enable-filter-update-steps  
                           Amount of sample points after which filter  
                           parameters (cutoff, resonance) are going to be  
                           updated (default=64). Higher value means less CPU  
                           load, but also worse parameter resolution, this  
                           value will be aligned to a power of two.],  
   [config_filter_update_steps="${enableval}"],  
   [config_filter_update_steps="64"]  
 )  
 AC_DEFINE_UNQUOTED(CONFIG_FILTER_UPDATE_STEPS, $config_filter_update_steps, [Define amount of steps to refresh filter coefficients.])  
   
718  AC_ARG_ENABLE(force-filter,  AC_ARG_ENABLE(force-filter,
719    [  --enable-force-filter    [  --enable-force-filter
720                            If enabled will force filter to be used even if                            If enabled will force filter to be used even if
721                            no usage was define in instrument patch files.                            no usage was define in instrument patch files.
722                            (default=no).],                            (default=no).],
723    [config_force_filter="yes"],    [config_force_filter="$enableval"],
724    [config_force_filter="no"]    [config_force_filter="no"]
725  )  )
726  if test "$config_force_filter" = "yes"; then  if test "$config_force_filter" = "yes"; then
# Line 576  AC_ARG_ENABLE(gs-checksum, Line 810  AC_ARG_ENABLE(gs-checksum,
810                            messages which do not provide a correct checksum                            messages which do not provide a correct checksum
811                            will be ignored. This is disabled by default as                            will be ignored. This is disabled by default as
812                            not all devices honor GS checksums.],                            not all devices honor GS checksums.],
813    [config_assert_gs_sysex_checksum="yes"],    [config_assert_gs_sysex_checksum="$enableval"],
814    [config_assert_gs_sysex_checksum="no"]    [config_assert_gs_sysex_checksum="no"]
815  )  )
816  if test "config_assert_gs_sysex_checksum" = "yes"; then  if test "config_assert_gs_sysex_checksum" = "yes"; then
817    AC_DEFINE_UNQUOTED(CONFIG_ASSERT_GS_SYSEX_CHECKSUM, 1, [Define to 1 if you want to enable GS SysEx check.])    AC_DEFINE_UNQUOTED(CONFIG_ASSERT_GS_SYSEX_CHECKSUM, 1, [Define to 1 if you want to enable GS SysEx check.])
818  fi  fi
819    
820    AC_ARG_ENABLE(portamento-time-min,
821      [  --enable-portamento-time-min
822                              Minimum Portamento time in seconds
823                              (default=0.1).],
824      [config_portamento_time_min="${enableval}"],
825      [config_portamento_time_min="0.1"]
826    )
827    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MIN, $config_portamento_time_min, [Define min. portamento time.])
828    
829    AC_ARG_ENABLE(portamento-time-max,
830      [  --enable-portamento-time-max
831                              Maximum Portamento time in seconds
832                              (default=32).],
833      [config_portamento_time_max="${enableval}"],
834      [config_portamento_time_max="32"]
835    )
836    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MAX, $config_portamento_time_max, [Define max. portamento time.])
837    
838    AC_ARG_ENABLE(portamento-time-default,
839      [  --enable-portamento-time-default
840                              Default Portamento time in seconds
841                              (default=1).],
842      [config_portamento_time_default="${enableval}"],
843      [config_portamento_time_default="1"]
844    )
845    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_DEFAULT, $config_portamento_time_default, [Define default portamento time.])
846    
847  AC_ARG_ENABLE(signed-triang-algo,  AC_ARG_ENABLE(signed-triang-algo,
848    [  --enable-signed-triang-algo    [  --enable-signed-triang-algo
849                            Signed triangular wave algorithm to be used (e.g. for LFOs).                            Signed triangular wave algorithm to be used (e.g. for LFOs).
# Line 591  AC_ARG_ENABLE(signed-triang-algo, Line 852  AC_ARG_ENABLE(signed-triang-algo,
852                                Uses integer math without any branch will then be                                Uses integer math without any branch will then be
853                                converted to floating point value for each sample point.                                converted to floating point value for each sample point.
854                                This int->float conversion might hurt on some systems.                                This int->float conversion might hurt on some systems.
855                                intmathabs:
856                                  Similar to intmath but uses abs() function.
857                                  Depending on compiler and platrofm this could
858                                  perform better than integer math as it avoids
859                                  an extra integer multiply instruction.
860                              diharmonic:                              diharmonic:
861                                The triangular wave will be approximated by adding two                                The triangular wave will be approximated by adding two
862                                sinusoidials. This solution might especially hurt on                                sinusoidials. This solution might especially hurt on
# Line 602  AC_ARG_ENABLE(signed-triang-algo, Line 868  AC_ARG_ENABLE(signed-triang-algo,
868                                benchmark between the algorithms mentioned above.                                benchmark between the algorithms mentioned above.
869                                This will NOT work for cross compilation!],                                This will NOT work for cross compilation!],
870    [ if test ! "(" "${enableval}" = "intmath" \    [ if test ! "(" "${enableval}" = "intmath" \
871                  -o "${enableval}" = "intmathabs" \
872                -o "${enableval}" = "diharmonic" ")" ; then                -o "${enableval}" = "diharmonic" ")" ; then
873        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-signed-triang-algo])        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-signed-triang-algo])
874      else      else
# Line 619  AC_ARG_ENABLE(unsigned-triang-algo, Line 886  AC_ARG_ENABLE(unsigned-triang-algo,
886                                Uses integer math without any branch will then be                                Uses integer math without any branch will then be
887                                converted to floating point value for each sample point.                                converted to floating point value for each sample point.
888                                This int->float conversion might hurt on some systems.                                This int->float conversion might hurt on some systems.
889                                intmathabs:
890                                  Similar to intmath but uses abs() function.
891                                  Depending on compiler and platrofm this could
892                                  perform better than integer math as it avoids
893                                  an extra integer multiply instruction.
894                              diharmonic:                              diharmonic:
895                                The triangular wave will be approximated by adding two                                The triangular wave will be approximated by adding two
896                                sinusoidials. This solution might especially hurt on                                sinusoidials. This solution might especially hurt on
# Line 630  AC_ARG_ENABLE(unsigned-triang-algo, Line 902  AC_ARG_ENABLE(unsigned-triang-algo,
902                                benchmark between the algorithms mentioned above.                                benchmark between the algorithms mentioned above.
903                                This will NOT work for cross compilation!],                                This will NOT work for cross compilation!],
904    [ if test ! "(" "${enableval}" = "intmath" \    [ if test ! "(" "${enableval}" = "intmath" \
905                  -o "${enableval}" = "intmathabs" \
906                -o "${enableval}" = "diharmonic" ")" ; then                -o "${enableval}" = "diharmonic" ")" ; then
907        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-unsigned-triang-algo])        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-unsigned-triang-algo])
908      else      else
# Line 648  AC_ARG_ENABLE(process-muted-channels, Line 921  AC_ARG_ENABLE(process-muted-channels,
921                            will not discard notes, triggered in mute mode,                            will not discard notes, triggered in mute mode,
922                            when the channel is unmuted. But also will reduce                            when the channel is unmuted. But also will reduce
923                            the efficiency.],                            the efficiency.],
924    [config_process_muted_channels="yes"],    [config_process_muted_channels="$enableval"],
925    [config_process_muted_channels="no"]    [config_process_muted_channels="no"]
926  )  )
927  if test "$config_process_muted_channels" = "yes"; then  if test "$config_process_muted_channels" = "yes"; then
928    AC_DEFINE_UNQUOTED(CONFIG_PROCESS_MUTED_CHANNELS, 1, [Define to 1 if you want to enable processing of muted channels.])    AC_DEFINE_UNQUOTED(CONFIG_PROCESS_MUTED_CHANNELS, 1, [Define to 1 if you want to enable processing of muted channels.])
929  fi  fi
930    
931    AC_ARG_ENABLE(process-all-notes-off,
932      [  --disable-process-all-notes-off
933                              Disable interpretation of All-Notes-Off MIDI
934                              messages (default=on). By default LS will release
935                              all voices whenever it receives an All-Notes-Off
936                              MIDI message. You can disable this behavior, so
937                              that LS simply ignores such messages.],
938      [config_process_all_notes_off="$enableval"],
939      [config_process_all_notes_off="yes"]
940    )
941    if test "$config_process_all_notes_off" = "yes"; then
942      AC_DEFINE_UNQUOTED(CONFIG_PROCESS_ALL_NOTES_OFF, 1, [Define to 1 if you want to enable processing of All-Notes-Off MIDI messages.])
943    fi
944    
945    AC_ARG_ENABLE(interpolate-volume,
946      [  --disable-interpolate-volume
947                              Disable interpolation of volume modulation
948                              (default=on). With this enabled, the volume changes
949                              generated by for example the envelope generator
950                              will be smoother, minimizing the risk for audio
951                              clicks. Disable it to reduce CPU usage.],
952      [config_interpolate_volume="$enableval"],
953      [config_interpolate_volume="yes"]
954    )
955    if test "$config_interpolate_volume" = "yes"; then
956      AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
957    fi
958    
959    AC_ARG_ENABLE(plugin-dir,
960      [  --enable-plugin-dir
961                              Directory where the sampler shall look for potential plugins,
962                              that is 3rd party shared libraries that should be loaded by
963                              the sampler on startup. By default the sampler will search
964                              for plugins in the subdirectory "plugins" below its own
965                              library directory.
966                              (i.e. /usr/local/lib/linuxsampler/plugins)],
967      [config_plugin_dir="${enableval}"],
968      [config_plugin_dir="${libdir}/linuxsampler/plugins"]
969    )
970    AC_SUBST(config_plugin_dir)
971    
972    AC_ARG_ENABLE(default-instruments-db-location,
973      [  --enable-default-instruments-db-location
974                              Only when instruments DB feature is enabled: file name
975                              which shall be taken as default location of the
976                              instruments DB file. This location can still be
977                              overridden at runtime with a command line switch.
978                              (default: /var/lib/linuxsampler/instruments.db)],
979      [config_default_instruments_db_file="${enableval}"],
980      [config_default_instruments_db_file="/var/lib/linuxsampler/instruments.db"]
981    )
982    AC_DEFINE_UNQUOTED(
983        CONFIG_DEFAULT_INSTRUMENTS_DB_LOCATION,
984        "$config_default_instruments_db_file",
985        [Only when instruments DB feature is enabled: default location of the DB file.]
986    )
987    AC_SUBST(config_default_instruments_db_file)
988    
989    
990  ###########################################################################  ###########################################################################
991  # Automatic Benchmarks (to detect the best algorithms for the system)  # Automatic Benchmarks (to detect the best algorithms for the system)
# Line 667  if test "$config_signed_triang_algo" = " Line 998  if test "$config_signed_triang_algo" = "
998      AC_TRY_RUN([      AC_TRY_RUN([
999              #define SIGNED 1              #define SIGNED 1
1000              #define SILENT 1              #define SILENT 1
1001              #include "benchmarks/triang.cpp"              #include "${srcdir}/benchmarks/triang.cpp"
1002          ],          ],
1003          triang_signed=0,          triang_signed=0,
1004          triang_signed=$?,          triang_signed=$?,
# Line 679  if test "$config_signed_triang_algo" = " Line 1010  if test "$config_signed_triang_algo" = "
1010      elif test "$triang_signed" = "3"; then      elif test "$triang_signed" = "3"; then
1011          config_signed_triang_algo="diharmonic"          config_signed_triang_algo="diharmonic"
1012          echo "di harmonics"          echo "di harmonics"
1013        elif test "$triang_signed" = "5"; then
1014            config_signed_triang_algo="intmathabs"
1015            echo "integer math using abs()"
1016      else      else
1017          echo "Benchmark of signed triangular wave algorithms failed!"          echo "Benchmark of signed triangular wave algorithms failed!"
1018          echo "Maybe you are doing cross compilation? In that case you have to select"          echo "Maybe you are doing cross compilation? In that case you have to select"
# Line 686  if test "$config_signed_triang_algo" = " Line 1020  if test "$config_signed_triang_algo" = "
1020          echo "Call './configure --help' for further information or read configure.in."          echo "Call './configure --help' for further information or read configure.in."
1021          exit -1;          exit -1;
1022      fi      fi
1023    else
1024        case "$config_signed_triang_algo" in
1025            intmath)
1026                triang_signed=2 ;;
1027            diharmonic)
1028                triang_signed=3 ;;
1029            intmathabs)
1030                triang_signed=5 ;;
1031        esac
1032  fi  fi
1033  AC_DEFINE_UNQUOTED(CONFIG_SIGNED_TRIANG_ALGO, signed_triang_algo_${config_signed_triang_algo}, [Define signed triangular wave algorithm to be used.])  AC_DEFINE_UNQUOTED(CONFIG_SIGNED_TRIANG_ALGO, ${triang_signed}, [Define signed triangular wave algorithm to be used.])
1034    
1035  if test "$config_unsigned_triang_algo" = "benchmark"; then  if test "$config_unsigned_triang_algo" = "benchmark"; then
1036      echo -n "benchmarking for the best (unsigned) triangular oscillator algorithm... "      echo -n "benchmarking for the best (unsigned) triangular oscillator algorithm... "
# Line 695  if test "$config_unsigned_triang_algo" = Line 1038  if test "$config_unsigned_triang_algo" =
1038      AC_TRY_RUN([      AC_TRY_RUN([
1039              #define SIGNED 0              #define SIGNED 0
1040              #define SILENT 1              #define SILENT 1
1041              #include "benchmarks/triang.cpp"              #include "${srcdir}/benchmarks/triang.cpp"
1042          ],          ],
1043          triang_unsigned=0,          triang_unsigned=0,
1044          triang_unsigned=$?,          triang_unsigned=$?,
# Line 707  if test "$config_unsigned_triang_algo" = Line 1050  if test "$config_unsigned_triang_algo" =
1050      elif test "$triang_unsigned" = "3"; then      elif test "$triang_unsigned" = "3"; then
1051          config_unsigned_triang_algo="diharmonic"          config_unsigned_triang_algo="diharmonic"
1052          echo "di harmonics"          echo "di harmonics"
1053        elif test "$triang_unsigned" = "5"; then
1054            config_unsigned_triang_algo="intmathabs"
1055            echo "integer math using abs()"
1056      else      else
1057          echo "Benchmark of unsigned triangular wave algorithms failed!"          echo "Benchmark of unsigned triangular wave algorithms failed!"
1058          echo "Maybe you are doing cross compilation? In that case you have to select"          echo "Maybe you are doing cross compilation? In that case you have to select"
# Line 714  if test "$config_unsigned_triang_algo" = Line 1060  if test "$config_unsigned_triang_algo" =
1060          echo "Call './configure --help' for further information or read configure.in."          echo "Call './configure --help' for further information or read configure.in."
1061          exit -1;          exit -1;
1062      fi      fi
1063    else
1064        case "$config_unsigned_triang_algo" in
1065            intmath)
1066                triang_unsigned=2 ;;
1067            diharmonic)
1068                triang_unsigned=3 ;;
1069            intmathabs)
1070                triang_unsigned=5 ;;
1071        esac
1072  fi  fi
1073  AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIANG_ALGO, unsigned_triang_algo_${config_unsigned_triang_algo}, [Define unsigned triangular wave algorithm to be used.])  AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIANG_ALGO, ${triang_unsigned}, [Define unsigned triangular wave algorithm to be used.])
1074    
1075  AC_LANG_RESTORE  AC_LANG_RESTORE
1076    
# Line 745  AC_OUTPUT( \ Line 1100  AC_OUTPUT( \
1100      man/Makefile \      man/Makefile \
1101      man/linuxsampler.1 \      man/linuxsampler.1 \
1102      src/Makefile \      src/Makefile \
1103        src/db/Makefile \
1104      src/network/Makefile \      src/network/Makefile \
1105      src/engines/Makefile \      src/engines/Makefile \
1106      src/engines/gig/Makefile \      src/engines/gig/Makefile \
1107      src/engines/common/Makefile \      src/engines/common/Makefile \
1108      src/common/Makefile src/lib/Makefile \      src/common/Makefile \
     src/lib/fileloader/Makefile \  
     src/lib/fileloader/libgig/Makefile \  
1109      src/testcases/Makefile \      src/testcases/Makefile \
1110      src/drivers/Makefile \      src/drivers/Makefile \
1111      src/drivers/audio/Makefile \      src/drivers/audio/Makefile \
1112      src/drivers/midi/Makefile \      src/drivers/midi/Makefile \
1113        src/plugins/Makefile \
1114      linuxsampler.spec \      linuxsampler.spec \
1115      debian/Makefile \      debian/Makefile \
1116      Artwork/Makefile \      Artwork/Makefile \
1117      scripts/Makefile \      scripts/Makefile \
1118      osx/Makefile \      osx/Makefile \
1119      osx/LinuxSampler.xcode/Makefile \      osx/linuxsampler.xcodeproj/Makefile \
1120      Documentation/Makefile \      Documentation/Makefile \
1121      Documentation/Engines/Makefile \      Documentation/Engines/Makefile \
1122      Documentation/Engines/gig/Makefile \      Documentation/Engines/gig/Makefile \
# Line 769  AC_OUTPUT( \ Line 1124  AC_OUTPUT( \
1124      Doxyfile \      Doxyfile \
1125  )  )
1126    
1127    # resolve all nested variables in '${config_plugin_dir}'
1128    # (merely for providing a human readable summary below)
1129    while test $config_plugin_dir != `eval echo ${config_plugin_dir}` ; do
1130            config_plugin_dir=`eval echo ${config_plugin_dir}`
1131    done
1132    
1133    
1134  ###########################################################################  ###########################################################################
1135  # Output All Configuration Options  # Output All Configuration Options
# Line 792  echo "# Maximum Stream Refill Size: ${co Line 1153  echo "# Maximum Stream Refill Size: ${co
1153  echo "# Stream Size: ${config_stream_size}"  echo "# Stream Size: ${config_stream_size}"
1154  echo "# Maximum Disk Streams: ${config_max_streams}"  echo "# Maximum Disk Streams: ${config_max_streams}"
1155  echo "# Maximum Voices: ${config_max_voices}"  echo "# Maximum Voices: ${config_max_voices}"
1156    echo "# Default Subfragment Size: ${config_subfragment_size}"
1157    echo "# Default Global Volume Attenuation: ${config_global_attenuation_default}"
1158  echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}"  echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}"
1159  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"
1160  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"
1161  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"
1162  echo "# Filter Update Steps: ${config_filter_update_steps}"  echo "# Min. Portamento Time: ${config_portamento_time_min} s"
1163    echo "# Max. Portamento Time: ${config_portamento_time_max} s"
1164    echo "# Default Portamento Time: ${config_portamento_time_default} s"
1165  echo "# Force Filter Usage: ${config_force_filter}"  echo "# Force Filter Usage: ${config_force_filter}"
1166  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"
1167  echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"  echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"
# Line 805  echo "# Override Filter Resonance Contro Line 1170  echo "# Override Filter Resonance Contro
1170  echo "# Override Filter Type: ${config_override_filter_type}"  echo "# Override Filter Type: ${config_override_filter_type}"
1171  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
1172  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
1173    echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"
1174    echo "# Interpolate Volume: ${config_interpolate_volume}"
1175    echo "# Instruments database support: ${config_instruments_db}"
1176    if test "$config_instruments_db" = "yes"; then
1177    echo "# Instruments DB default location: ${config_default_instruments_db_file}"
1178    fi
1179    echo "# Plugin Path: ${config_plugin_dir}"
1180  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
1181  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
1182  echo "#####################################################################"  echo "#####################################################################"

Legend:
Removed from v.716  
changed lines
  Added in v.1639

  ViewVC Help
Powered by ViewVC