Additional fixes for quickbuild.

This commit is contained in:
Themaister 2011-01-01 13:59:44 +01:00
parent 5f69145be2
commit aa4a6a4a04
2 changed files with 10 additions and 8 deletions

View File

@ -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 ROAR "Enable RoarAudio support" auto
add_command_line_enable AL "Enable OpenAL support" auto
add_command_line_enable JACK "Enable JACK support" auto

View File

@ -91,15 +91,16 @@ parse_input()
while [ ! -z "$1" ]
do
prefix="`echo $1 | sed -e 's|^--prefix=\(\S\S*\)$|\1|' -e 's|\(\S\S*\)/|\1|'`"
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"
shift
continue
fi
case "$1" in
;;
--enable-*)
enable=`echo $1 | sed 's|^--enable-||'`