3 # Copyright (C) 2008 Mark Hills <mark@pogo.org.uk>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 2, as
7 # published by the Free Software Foundation.
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # General Public License version 2 for more details.
14 # You should have received a copy of the GNU General Public License
15 # version 2 along with this program; if not, write to the Free
16 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22 # Set some defaults and parse the command line
27 while [ $# -ge 1 ]; do
30 echo "Usage: configure [--enable-alsa] [--enable-jack]"
44 # Construct the output file
48 if [ $ALSA = 1 ]; then
50 echo "ALSA = yes" >> $OUTPUT
55 if [ $JACK = 1 ]; then
57 echo "JACK=yes" >> $OUTPUT
62 # Explain the next step
64 echo "Be sure to run 'make clean' if you have changed the configuration."
65 echo "Run 'make' to compile xwax."