diff options
Diffstat (limited to 'audio-creation/snd/CONFIGURE')
-rwxr-xr-x | audio-creation/snd/CONFIGURE | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/audio-creation/snd/CONFIGURE b/audio-creation/snd/CONFIGURE new file mode 100755 index 0000000000..80ff16ebef --- /dev/null +++ b/audio-creation/snd/CONFIGURE @@ -0,0 +1,32 @@ +config_query MIDI "include sndlib midi module?" n +config_query HOBBIT "include arity check support for hobbit?" n +config_query RUBY "use ruby as scripting language (instead of Guile)?" y +config_query GUI "configure snd with a GUI?" y + +persistent_add MIDI_OPTS HOBBIT_OPTS GUI_OPTS && + +if [ "$GUI" == "y" ] +then + GUI_OPTS="--with-x" + config_query GTK "use the GTK interface (instead of Motif)?" y +else + persistent_add GTK && + GUI_OPTS="--with-no-gui" && + GTK="n" +fi && + +if [ "$MIDI" == "y" ] +then + #OPTS="$OPTS --with-midi" + MIDI_OPTS="--with-midi" +else + MIDI_OPTS="--without-midi" +fi && + +if [ "$HOBBIT" == "y" ] +then + #OPTS="$OPTS --with-hobbit" + HOBBIT_OPTS="--with-hobbit" +else + HOBBIT_OPTS="--without-hobbit" +fi |