Additional fixes for quickbuild.
This commit is contained in:
parent
5f69145be2
commit
aa4a6a4a04
|
@ -16,3 +16,4 @@ add_command_line_enable OSS "Enable OSS support" auto
|
||||||
add_command_line_enable RSOUND "Enable RSound support" auto
|
add_command_line_enable RSOUND "Enable RSound support" auto
|
||||||
add_command_line_enable ROAR "Enable RoarAudio support" auto
|
add_command_line_enable ROAR "Enable RoarAudio support" auto
|
||||||
add_command_line_enable AL "Enable OpenAL support" auto
|
add_command_line_enable AL "Enable OpenAL support" auto
|
||||||
|
add_command_line_enable JACK "Enable JACK support" auto
|
||||||
|
|
|
@ -91,16 +91,17 @@ parse_input()
|
||||||
|
|
||||||
while [ ! -z "$1" ]
|
while [ ! -z "$1" ]
|
||||||
do
|
do
|
||||||
prefix="`echo $1 | sed -e 's|^--prefix=\(\S\S*\)$|\1|' -e 's|\(\S\S*\)/|\1|'`"
|
|
||||||
|
|
||||||
if [ "$prefix" != "$1" ]; then
|
|
||||||
PREFIX="$prefix"
|
|
||||||
shift
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
||||||
|
--prefix=*)
|
||||||
|
prefix="`echo $1 | sed -e 's|^--prefix=\(\S\S*\)$|\1|' -e 's|\(\S\S*\)/$|\1|'`"
|
||||||
|
|
||||||
|
if [ "$prefix" != "$1" ]; then
|
||||||
|
PREFIX="$prefix"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
--enable-*)
|
--enable-*)
|
||||||
enable=`echo $1 | sed 's|^--enable-||'`
|
enable=`echo $1 | sed 's|^--enable-||'`
|
||||||
if [ -z "`echo $COMMAND_LINE_OPTS_ENABLE | grep -i $enable`" ]; then
|
if [ -z "`echo $COMMAND_LINE_OPTS_ENABLE | grep -i $enable`" ]; then
|
||||||
|
|
Loading…
Reference in New Issue