/[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 527 by capela, Mon May 9 11:59:58 2005 UTC revision 692 by schoenebeck, Fri Jul 15 16:59:35 2005 UTC
# Line 9  AC_SUBST(target_os) Line 9  AC_SUBST(target_os)
9  AC_SUBST(target_vendor)  AC_SUBST(target_vendor)
10    
11    
12    ###########################################################################
13    # General Checks
14    
15  AC_MSG_CHECKING([whether x86 architecture])  AC_MSG_CHECKING([whether x86 architecture])
16  def_arch_x86=0  def_arch_x86=0
# Line 21  case $target_cpu in Line 23  case $target_cpu in
23  esac  esac
24  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.])
25    
   
26  # determine the right gcc switch for CPU specific optimizations  # determine the right gcc switch for CPU specific optimizations
27  CXX_CPU_SWITCH=  CXX_CPU_SWITCH=
28  if test "$def_arch_x86" = 1; then  if test "$def_arch_x86" = 1; then
# Line 31  elif test "$target_cpu" = "powerpc"; the Line 32  elif test "$target_cpu" = "powerpc"; the
32  fi  fi
33  AC_SUBST([CXX_CPU_SWITCH])  AC_SUBST([CXX_CPU_SWITCH])
34    
   
35  AC_MSG_CHECKING([whether UNIX98 compatible])  AC_MSG_CHECKING([whether UNIX98 compatible])
36  AC_LANG_SAVE  AC_LANG_SAVE
37  AC_LANG_C  AC_LANG_C
# Line 64  if test "$have_unix98" = "no"; then Line 64  if test "$have_unix98" = "no"; then
64      fi      fi
65  fi  fi
66    
   
67  # Checks for available audio and MIDI systems / drivers  # Checks for available audio and MIDI systems / drivers
68  # (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)
69  have_midi_input_driver="false"  have_midi_input_driver="false"
# Line 86  fi Line 85  fi
85  AM_CONDITIONAL(HAVE_ALSA, test $have_alsa = "1")  AM_CONDITIONAL(HAVE_ALSA, test $have_alsa = "1")
86  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.])
87    
   
88  echo -n "checking Alsa version... "  echo -n "checking Alsa version... "
89  AC_LANG_SAVE  AC_LANG_SAVE
90  AC_LANG_C  AC_LANG_C
# Line 138  AC_DEFINE_UNQUOTED(ALSA_MAJOR,$alsa_majo Line 136  AC_DEFINE_UNQUOTED(ALSA_MAJOR,$alsa_majo
136  AC_DEFINE_UNQUOTED(ALSA_MINOR,$alsa_minor,[Define to the minor version number of your Alsa installation.])  AC_DEFINE_UNQUOTED(ALSA_MINOR,$alsa_minor,[Define to the minor version number of your Alsa installation.])
137  AC_DEFINE_UNQUOTED(ALSA_SUBMINOR,$alsa_subminor,[Define to the subminor version number of your Alsa installation.])  AC_DEFINE_UNQUOTED(ALSA_SUBMINOR,$alsa_subminor,[Define to the subminor version number of your Alsa installation.])
138    
   
139  # JACK  # JACK
140  PKG_CHECK_MODULES(JACK, jack, HAVE_JACK=true, HAVE_JACK=false)  PKG_CHECK_MODULES(JACK, jack, HAVE_JACK=true, HAVE_JACK=false)
141  AC_SUBST(JACK_LIBS)  AC_SUBST(JACK_LIBS)
# Line 153  fi Line 150  fi
150  AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1)  AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1)
151  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.])
152    
153    # MidiShare (Linux, OS X, Windows)
154    AC_CHECK_HEADER(MidiShare.h,
155        AC_CHECK_LIB(MidiShare, MidiCountEvs,
156                                have_midishare=1,
157                                have_midishare=0
158                    )
159                    ,
160                    have_midishare=0
161    )
162    if test "$have_midishare" = "1"; then
163        have_midi_input_driver="true"
164    fi
165    AM_CONDITIONAL(HAVE_MIDISHARE, test $have_midishare = "1")
166    AC_DEFINE_UNQUOTED(HAVE_MIDISHARE,$have_midishare,[Define to 1 if you have MidiShare installed.])
167    
168    # CoreMIDI (OS X)
169    AC_CHECK_HEADER(CoreMIDI/CoreMIDI.h,
170                    have_coremidi=1,
171                    have_coremidi=0
172    )
173    if test "$have_coremidi" = "1"; then
174        have_midi_input_driver="true"
175    fi
176    AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1")
177    AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.])
178    
179  # Check presence of libgig  # Check presence of libgig
180  libgig_version="1.0.0"  libgig_version="2.0.1"
181  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)
182  if test "$HAVE_GIG" = "false"; then  if test "$HAVE_GIG" = "false"; then
183      echo "Required libgig version not found!"      echo "Required libgig version not found!"
# Line 165  fi Line 187  fi
187  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
188  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
189    
   
190  # SQLITE3  # SQLITE3
191  PKG_CHECK_MODULES(SQLITE3, sqlite3, HAVE_SQLITE3=true, HAVE_SQLITE3=false)  PKG_CHECK_MODULES(SQLITE3, sqlite3, HAVE_SQLITE3=true, HAVE_SQLITE3=false)
192  AC_SUBST(SQLITE3_LIBS)  AC_SUBST(SQLITE3_LIBS)
# Line 178  fi Line 199  fi
199  AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1)  AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1)
200  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 have SQLITE3 installed.])
201    
   
202  if test "$have_midi_input_driver" = "false"; then  if test "$have_midi_input_driver" = "false"; then
203      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
204      echo "Sorry, LinuxSampler only supports ALSA as MIDI input driver at the moment!"      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"
205        echo "ALSA, MIDIShare, CoreMIDI."
206        echo "If you think you have one of those available on your system, make sure you"
207        echo "also have the respective development (header) files installed."
208      exit -1;      exit -1;
209  fi  fi
210  if test "$have_audio_output_driver" = "false"; then  if test "$have_audio_output_driver" = "false"; then
# Line 191  if test "$have_audio_output_driver" = "f Line 214  if test "$have_audio_output_driver" = "f
214  fi  fi
215    
216    
217    ###########################################################################
218    # Handle Configuration Options
219    
220    # TODO: should we use AC_ARG_VAR(variable, description) instead?
221    
222    AC_ARG_ENABLE(asm,
223      [  --disable-asm
224                              Disable hand-crafted assembly optimizations
225                              (default=on). LinuxSampler provides CPU specific
226                              assembly optimizations for the most important
227                              synthesis algorithms. You usually don't want to
228                              disable that.],
229      [config_asm="no"],
230      [config_asm="yes"]
231    )
232    if test "$config_asm" = "yes"; then
233      AC_DEFINE_UNQUOTED(CONFIG_ASM, 1, [Define to 1 if you want to enable hand-crafted asm optimizations.])
234    fi
235    
236    AC_ARG_ENABLE(dev-mode,
237      [  --enable-dev-mode
238                              Enable development mode (default=no). In that mode
239                              we do some extra sanity checks here and there.
240                              This helps to spot possible problems, but reduces
241                              efficiency a bit],
242      [config_dev_mode="yes"],
243      [config_dev_mode="no"]
244    )
245    if test "$config_dev_mode" = "yes"; then
246      AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.])
247    fi
248    
249    AC_ARG_ENABLE(debug-level,
250      [  --enable-debug-level
251                              Specify verbosity of console messages (default=1).
252                              The higher the value, the higher will be verbosity.
253                              A value of 0 means no console output at all.
254                              There's not really an upper limit but the usual
255                              level of all messages is currently somewhere less
256                              than 10.],
257      [config_debug_level="${enableval}"],
258      [config_debug_level="1"]
259    )
260    AC_DEFINE_UNQUOTED(CONFIG_DEBUG_LEVEL, $config_debug_level, [Define console verbosity.])
261    
262    AC_ARG_ENABLE(rt-exceptions,
263      [  --enable-rt-exceptions
264                              Enable exceptions in the realtime thread
265                              (default=no). If this is enabled, exceptions will
266                              be thrown on critical errors in the realtime
267                              context as well. Otherwise if disabled
268                              segmentation faults will be forced by the
269                              application on critical errors.],
270      [config_rt_exceptions="yes"],
271      [config_rt_exceptions="no"]
272    )
273    if test "$config_rt_exceptions" = "yes"; then
274      AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.])
275    fi
276    
277    AC_ARG_ENABLE(preload-samples,
278      [  --enable-preload-samples
279                              Due to seeking and latency issues with hard drives
280                              we have to cache a small part of samples' head in
281                              RAM (default=32768). The higher this value the
282                              more memory will be occupied for each sample, but
283                              the safer this will be in regards of possible
284                              droputs. A 'good' value depends on the running
285                              system and usage dependant factors.],
286      [config_preload_samples="${enableval}"],
287      [config_preload_samples="32768"]
288    )
289    AC_DEFINE_UNQUOTED(CONFIG_PRELOAD_SAMPLES, $config_preload_samples, [Define amount of sample points to be cached in RAM.])
290    
291    AC_ARG_ENABLE(max-pitch,
292      [  --enable-max-pitch
293                              Specify the maximum allowed pitch value in octaves
294                              (default=4). To lower memory usage you might want
295                              set a smaller value.],
296      [config_max_pitch="${enableval}"],
297      [config_max_pitch="4"]
298    )
299    AC_DEFINE_UNQUOTED(CONFIG_MAX_PITCH, $config_max_pitch, [Define max. allowed pitch.])
300    
301    AC_ARG_ENABLE(max-events,
302      [  --enable-max-events
303                              Specify the maximum allowed amount of events to be
304                              processed per fragment (default=1024).],
305      [config_max_events="${enableval}"],
306      [config_max_events="1024"]
307    )
308    AC_DEFINE_UNQUOTED(CONFIG_MAX_EVENTS_PER_FRAGMENT, $config_max_events, [Define max. allowed events per fragment.])
309    
310    AC_ARG_ENABLE(eg-bottom,
311      [  --enable-eg-bottom
312                              Bottom limit of envelope generators
313                              (default=0.001). Certain kinds of curve types like
314                              exponential curves converge against 0 but never
315                              reach 0. So we have to define a certain low value
316                              after which we should consider all smaller values
317                              to be 'almost zero'. The smaller this value, the
318                              longer will voices survive in EG's release stage
319                              and thus waste voices. If this value is too high
320                              will cause click sounds though.],
321      [config_eg_bottom="${enableval}"],
322      [config_eg_bottom="0.001"]
323    )
324    AC_DEFINE_UNQUOTED(CONFIG_EG_BOTTOM, $config_eg_bottom, [Define bottom limit of envelopes.])
325    
326    AC_ARG_ENABLE(eg-min-release-time,
327      [  --enable-eg-min-release-time
328                              Specify the lowest allowed release time in seconds
329                              (default=0.0025). This value will also be used to
330                              ramp down voices on voice stealing. This value
331                              should always be less than the period time of the
332                              used audio driver, as in case of voice stealing
333                              the killed voice needs to be completely ramped
334                              down in the same fragment.],
335      [config_eg_min_release_time="${enableval}"],
336      [config_eg_min_release_time="0.0025"]
337    )
338    AC_DEFINE_UNQUOTED(CONFIG_EG_MIN_RELEASE_TIME, $config_eg_min_release_time, [Define min. release time.])
339    
340    AC_ARG_ENABLE(refill-streams,
341      [  --enable-refill-streams
342                              Number of streams that should be refilled in each
343                              disk thread cycle (default=4).],
344      [config_refill_streams="${enableval}"],
345      [config_refill_streams="4"]
346    )
347    AC_DEFINE_UNQUOTED(CONFIG_REFILL_STREAMS_PER_RUN, $config_refill_streams, [Define amount of streams to be refilled per cycle.])
348    
349    AC_ARG_ENABLE(stream-min-refill,
350      [  --enable-stream-min-refill
351                              Minimum refill size for disk streams (default=1024).
352                              The disk thread will go to sleep for a while if no
353                              stream had to be refilled more than this value in
354                              a disk thread cycle.],
355      [config_stream_min_refill="${enableval}"],
356      [config_stream_min_refill="1024"]
357    )
358    AC_DEFINE_UNQUOTED(CONFIG_STREAM_MIN_REFILL_SIZE, $config_stream_min_refill, [Define min. stream refill size.])
359    
360    AC_ARG_ENABLE(stream-max-refill,
361      [  --enable-stream-max-refill
362                              Maximum refill size for disk streams
363                              (default=65536). The disk thread will refill
364                              each stream only by a size of this value per
365                              disk thread cycle.],
366      [config_stream_max_refill="${enableval}"],
367      [config_stream_max_refill="65536"]
368    )
369    AC_DEFINE_UNQUOTED(CONFIG_STREAM_MAX_REFILL_SIZE, $config_stream_max_refill, [Define max. stream refill size.])
370    
371    AC_ARG_ENABLE(stream-size,
372      [  --enable-stream-size
373                              Size of each stream's ring buffer in sample points
374                              (default=262144).],
375      [config_stream_size="${enableval}"],
376      [config_stream_size="262144"]
377    )
378    AC_DEFINE_UNQUOTED(CONFIG_STREAM_BUFFER_SIZE, $config_stream_size, [Define each stream's ring buffer size.])
379    
380    AC_ARG_ENABLE(max-streams,
381      [  --enable-max-streams
382                              Maximum amount of disk streams (default=90). This
383                              value should always be higher than the maximum
384                              amount of voices.],
385      [config_max_streams="${enableval}"],
386      [config_max_streams="90"]
387    )
388    AC_DEFINE_UNQUOTED(CONFIG_MAX_STREAMS, $config_max_streams, [Define max. streams.])
389    
390    AC_ARG_ENABLE(max-voices,
391      [  --enable-max-voices
392                              Maximum amount of voices (default=64). This value
393                              should always be lower than the maximum amount of
394                              disk streams.],
395      [config_max_voices="${enableval}"],
396      [config_max_voices="64"]
397    )
398    AC_DEFINE_UNQUOTED(CONFIG_MAX_VOICES, $config_max_voices, [Define max. voices.])
399    
400    AC_ARG_ENABLE(voice-steal-algo,
401      [  --enable-voice-steal-algo
402                              Voice stealing algorithm to be used. Currently
403                              available options:
404                                none:
405                                  Disable voice stealing completely.
406                                oldestvoiceonkey (default):
407                                  Try to kill a voice on the same key first,
408                                  if no success, proceed with the oldest key.
409                                oldestkey:
410                                  Try to kill a voice from the oldest active
411                                  key.],
412      [ if test ! "(" "${enableval}" = "none" \
413                  -o "${enableval}" = "oldestvoiceonkey" \
414                  -o "${enableval}" = "oldestkey" ")" ; then
415          AC_MSG_ERROR([Unknown voice stealing algorithm for parameter --enable-voice-steal-algo])
416        else
417          config_voice_steal_algo="${enableval}"
418        fi
419      ],
420      [config_voice_steal_algo="oldestvoiceonkey"]
421    )
422    AC_DEFINE_UNQUOTED(CONFIG_VOICE_STEAL_ALGO, voice_steal_algo_${config_voice_steal_algo}, [Define voice stealing algorithm to be used.])
423    
424    AC_ARG_ENABLE(sysex-buffer-size,
425      [  --enable-sysex-buffer-size
426                              System Exclusive Message buffer size in kB
427                              (default=2048).],
428      [config_sysex_buffer_size="${enableval}"],
429      [config_sysex_buffer_size="2048"]
430    )
431    AC_DEFINE_UNQUOTED(CONFIG_SYSEX_BUFFER_SIZE, $config_sysex_buffer_size, [Define SysEx buffer size.])
432    
433    AC_ARG_ENABLE(filter-update-steps,
434      [  --enable-filter-update-steps
435                              Amount of sample points after which filter
436                              parameters (cutoff, resonance) are going to be
437                              updated (default=64). Higher value means less CPU
438                              load, but also worse parameter resolution, this
439                              value will be aligned to a power of two.],
440      [config_filter_update_steps="${enableval}"],
441      [config_filter_update_steps="64"]
442    )
443    AC_DEFINE_UNQUOTED(CONFIG_FILTER_UPDATE_STEPS, $config_filter_update_steps, [Define amount of steps to refresh filter coefficients.])
444    
445    AC_ARG_ENABLE(force-filter,
446      [  --enable-force-filter
447                              If enabled will force filter to be used even if
448                              no usage was define in instrument patch files.
449                              (default=no).],
450      [config_force_filter="yes"],
451      [config_force_filter="no"]
452    )
453    if test "$config_force_filter" = "yes"; then
454      AC_DEFINE_UNQUOTED(CONFIG_FORCE_FILTER, 1, [Define to 1 to force filter usage.])
455    fi
456    
457    AC_ARG_ENABLE(filter-cutoff-min,
458      [  --enable-filter-cutoff-min
459                              Minimum filter cutoff frequency in Hz
460                              (default=100.0).],
461      [config_filter_cutoff_min="${enableval}"],
462      [config_filter_cutoff_min="100.0"]
463    )
464    AC_DEFINE_UNQUOTED(CONFIG_FILTER_CUTOFF_MIN, ${config_filter_cutoff_min}f, [Define min. filter cutoff frequency.])
465    
466    AC_ARG_ENABLE(filter-cutoff-max,
467      [  --enable-filter-cutoff-max
468                              Maximum filter cutoff frequency in Hz
469                              (default=10000.0).],
470      [config_filter_cutoff_max="${enableval}"],
471      [config_filter_cutoff_max="10000.0"]
472    )
473    AC_DEFINE_UNQUOTED(CONFIG_FILTER_CUTOFF_MAX, ${config_filter_cutoff_max}f, [Define max. filter cutoff frequency.])
474    
475    AC_ARG_ENABLE(override-cutoff-ctrl,
476      [  --enable-override-cutoff-ctrl
477                              Override filter cutoff MIDI controller (default=no).
478                              Note: you have to define the MIDI controller number
479                              here, it's not a boolean parameter type! If this
480                              option is used, controller number given by
481                              instrument patch will be ignored and instead this
482                              supplied value will be used.],
483      [config_override_cutoff_ctrl="${enableval}"],
484      [config_override_cutoff_ctrl="no"]
485    )
486    if test ! "$config_override_cutoff_ctrl" = "no"; then
487      AC_DEFINE_UNQUOTED(CONFIG_OVERRIDE_CUTOFF_CTRL, $config_override_cutoff_ctrl, [Define to a MIDI controller number to override cutoff control.])
488    fi
489    
490    AC_ARG_ENABLE(override-resonance-ctrl,
491      [  --enable-override-resonance-ctrl
492                              Override filter resonance MIDI controller
493                              (default=no). Note: you have to define the MIDI
494                              controller number here, it's not a boolean
495                              parameter type! If this option is used, controller
496                              number given by instrument patch will be ignored
497                              and instead this supplied value will be used.],
498      [config_override_resonance_ctrl="${enableval}"],
499      [config_override_resonance_ctrl="no"]
500    )
501    if test ! "$config_override_resonance_ctrl" = "no"; then
502      AC_DEFINE_UNQUOTED(CONFIG_OVERRIDE_RESONANCE_CTRL, $config_override_resonance_ctrl, [Define to a MIDI controller number to override resonance control.])
503    fi
504    
505    AC_ARG_ENABLE(override-filter-type,
506      [  --enable-override-filter-type
507                              Override filter type (default=no). Options:
508                              hp: for highpass
509                              bp: for bandpass
510                              br: for bandreject
511                              lp: for lowpass
512                              lpt: for lowpass turbo],
513      [ if   test "${enableval}" = "hp" ; then
514           config_override_filter_type="::gig::vcf_type_highpass"
515        elif test "${enableval}" = "bp" ; then
516           config_override_filter_type="::gig::vcf_type_bandpass"
517        elif test "${enableval}" = "br" ; then
518           config_override_filter_type="::gig::vcf_type_bandreject"
519        elif test "${enableval}" = "lp" ; then
520           config_override_filter_type="::gig::vcf_type_lowpass"
521        elif test "${enableval}" = "lpt" ; then
522           config_override_filter_type="::gig::vcf_type_lowpassturbo"
523        elif test ! "${enableval}" = "no"; then
524           AC_MSG_ERROR([Unknown filter type for parameter --enable-override-filter-type])
525        fi
526      ],
527      [config_override_filter_type="no"]
528    )
529    if test ! "$config_override_filter_type" = "no"; then
530      AC_DEFINE_UNQUOTED(CONFIG_OVERRIDE_FILTER_TYPE, $config_override_filter_type, [Define to a filter type to always force that filter type.])
531    fi
532    
533    AC_ARG_ENABLE(gs-checksum,
534      [  --enable-gs-checksum
535                              Enable Roland General Synth SysEx checksum check
536                              (default=no). If this is enabled, all GS SysEx
537                              messages which do not provide a correct checksum
538                              will be ignored. This is disabled by default as
539                              not all devices honor GS checksums.],
540      [config_assert_gs_sysex_checksum="yes"],
541      [config_assert_gs_sysex_checksum="no"]
542    )
543    if test "config_assert_gs_sysex_checksum" = "yes"; then
544      AC_DEFINE_UNQUOTED(CONFIG_ASSERT_GS_SYSEX_CHECKSUM, 1, [Define to 1 if you want to enable GS SysEx check.])
545    fi
546    
547    
548    ###########################################################################
549    # Create Build Files
550    
551  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
552  AM_INIT_AUTOMAKE(linuxsampler, 0.3.1)  AM_INIT_AUTOMAKE(linuxsampler, 0.3.3)
553    
554  AC_LANG_CPLUSPLUS  AC_LANG_CPLUSPLUS
555  AC_PROG_CXX  AC_PROG_CXX
556    
557    # some gcc 4.0 versions need -msse for SSE register allocations
558    if test "$config_asm" = "yes"; then
559      if test "$def_arch_x86" = 1; then
560        CXXFLAGS="$CXXFLAGS -msse"
561      fi
562    fi
563    
564  # autoconf 2.59/libtool 1.5.12 bug? work-around. Without a check like  # autoconf 2.59/libtool 1.5.12 bug? work-around. Without a check like
565  # this, the dlfcn.h check in am_prog_libtool may fail.  # this, the dlfcn.h check in am_prog_libtool may fail.
566  AC_CHECK_HEADER(stdlib.h)  AC_CHECK_HEADER(stdlib.h)
567    
568  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
569    
570  AC_OUTPUT(Makefile src/Makefile src/network/Makefile src/engines/Makefile src/engines/gig/Makefile src/engines/common/Makefile src/common/Makefile src/lib/Makefile src/lib/fileloader/Makefile src/lib/fileloader/libgig/Makefile src/testcases/Makefile src/drivers/Makefile src/drivers/audio/Makefile src/drivers/midi/Makefile)  AC_OUTPUT( \
571        Makefile \
572        man/Makefile \
573        man/linuxsampler.1 \
574        src/Makefile \
575        src/network/Makefile \
576        src/engines/Makefile \
577        src/engines/gig/Makefile \
578        src/engines/common/Makefile \
579        src/common/Makefile src/lib/Makefile \
580        src/lib/fileloader/Makefile \
581        src/lib/fileloader/libgig/Makefile \
582        src/testcases/Makefile \
583        src/drivers/Makefile \
584        src/drivers/audio/Makefile \
585        src/drivers/midi/Makefile \
586        linuxsampler.spec \
587        debian/Makefile \
588        Artwork/Makefile \
589        scripts/Makefile \
590        osx/Makefile \
591        osx/LinuxSampler.xcode/Makefile \
592        Documentation/Makefile \
593        Documentation/Engines/Makefile \
594        Documentation/Engines/gig/Makefile \
595    )
596    
597    
598    ###########################################################################
599    # Output All Configuration Options
600    
601    echo ""
602    echo "#####################################################################"
603    echo "# LinuxSampler Configuration                                        #"
604    echo "#-------------------------------------------------------------------#"
605    echo "# Assembly Optimizations: ${config_asm}"
606    echo "# Development Mode: ${config_dev_mode}"
607    echo "# Debug Level: ${config_debug_level}"
608    echo "# Use Exceptions in RT Context: ${config_rt_exceptions}"
609    echo "# Preload Samples: ${config_preload_samples}"
610    echo "# Maximum Pitch: ${config_max_pitch} (octaves)"
611    echo "# Maximum Events: ${config_max_events}"
612    echo "# Envelope Bottom Level: ${config_eg_bottom} (linear)"
613    echo "# Envelope Minimum Release Time: ${config_eg_min_release_time} s"
614    echo "# Streams to be refilled per Disk Thread Cycle: ${config_refill_streams}"
615    echo "# Minimum Stream Refill Size: ${config_stream_min_refill}"
616    echo "# Maximum Stream Refill Size: ${config_stream_max_refill}"
617    echo "# Stream Size: ${config_stream_size}"
618    echo "# Maximum Disk Streams: ${config_max_streams}"
619    echo "# Maximum Voices: ${config_max_voices}"
620    echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}"
621    echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"
622    echo "# Filter Update Steps: ${config_filter_update_steps}"
623    echo "# Force Filter Usage: ${config_force_filter}"
624    echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"
625    echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"
626    echo "# Override Filter Cutoff Controller: ${config_override_cutoff_ctrl}"
627    echo "# Override Filter Resonance Controller: ${config_override_resonance_ctrl}"
628    echo "# Override Filter Type: ${config_override_filter_type}"
629    echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
630    echo "#-------------------------------------------------------------------#"
631    echo "# Read './configure --help' or file 'configure.in' for details.     #"
632    echo "#####################################################################"
633    echo ""
634    echo "Good. Now type 'make' to compile, followed by 'make install' as root."
635    echo ""

Legend:
Removed from v.527  
changed lines
  Added in v.692

  ViewVC Help
Powered by ViewVC