/[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 288 by schoenebeck, Tue Oct 19 00:36:34 2004 UTC revision 411 by schoenebeck, Sat Feb 26 02:01:14 2005 UTC
# Line 62  have_audio_output_driver="false" Line 62  have_audio_output_driver="false"
62    
63  AC_CHECK_HEADER(alsa/asoundlib.h,  AC_CHECK_HEADER(alsa/asoundlib.h,
64      AC_CHECK_LIB(asound, main,      AC_CHECK_LIB(asound, main,
65                               have_alsa="true"                               have_alsa=1
66                               ,                               ,
67                               have_alsa="false"                               have_alsa=0
68                  )                  )
69                  ,                  ,
70                  have_alsa="false"                  have_alsa=0
71  )  )
72  if test "$have_alsa" = "true"; then  if test "$have_alsa" = "1"; then
73      have_midi_input_driver="true"      have_midi_input_driver="true"
74      have_audio_output_driver="true";      have_audio_output_driver="true";
75  fi  fi
76  AM_CONDITIONAL(HAVE_ALSA, test $have_alsa = "true")  AM_CONDITIONAL(HAVE_ALSA, test $have_alsa = "1")
77  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.])
78    
79    
# Line 138  if test $HAVE_JACK = false; then Line 138  if test $HAVE_JACK = false; then
138  else  else
139      HAVE_JACK=1      HAVE_JACK=1
140      have_audio_output_driver="true";      have_audio_output_driver="true";
141        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)
142  fi  fi
143  AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1)  AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1)
144  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.])
145    
146    # SQLITE3
147    PKG_CHECK_MODULES(SQLITE3, sqlite3, HAVE_SQLITE3=true, HAVE_SQLITE3=false)
148    AC_SUBST(SQLITE3_LIBS)
149    AC_SUBST(SQLITE3_CFLAGS)
150    if test $HAVE_SQLITE3 = false; then
151        HAVE_SQLITE3=0;
152    else
153        HAVE_SQLITE3=1
154    fi
155    AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1)
156    AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you have SQLITE3 installed.])
157    
158    
159  if test "$have_midi_input_driver=" = "false"; then  if test "$have_midi_input_driver" = "false"; then
160      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
161      echo "Sorry, LinuxSampler only supports ALSA as MIDI input driver at the moment!"      echo "Sorry, LinuxSampler only supports ALSA as MIDI input driver at the moment!"
162      exit -1;      exit -1;
163  fi  fi
164  if test "$have_audio_output_driver=" = "false"; then  if test "$have_audio_output_driver" = "false"; then
165      echo "No supported audio output system found!"      echo "No supported audio output system found!"
166      echo "Sorry, LinuxSampler only supports ALSA and JACK as audio output driver at the moment!"      echo "Sorry, LinuxSampler only supports ALSA and JACK as audio output driver at the moment!"
167      exit -1;      exit -1;
# Line 156  fi Line 169  fi
169    
170    
171  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
172  AM_INIT_AUTOMAKE(linuxsampler, 0.2)  AM_INIT_AUTOMAKE(linuxsampler, 0.3.0)
173    
174  AC_LANG_CPLUSPLUS  AC_LANG_CPLUSPLUS
175  AC_PROG_CXX  AC_PROG_CXX

Legend:
Removed from v.288  
changed lines
  Added in v.411

  ViewVC Help
Powered by ViewVC