+debug="-ggdb2"
+ldflags="-lmcheck"
+fast=false
+
+while true
+do
+ if [ "$1" = "--origss" ];then
+ customss=
+ shift
+ continue
+ fi
+ if [ "$1" = "--fast" ];then
+ fast=true
+ shift
+ continue
+ fi
+ if [ "$1" = "--shared" ];then
+ customss="--disable-static --enable-shared"
+ shift
+ continue
+ fi
+
+ if [ "$1" = "-m" ];then
+ customm=
+ shift
+ continue
+ fi
+ if [ "$1" = "-m32" ];then
+ customm=-m32
+ case `uname -m` in
+ i?86|x86_64|ia64) target=i386-unknown-linux-gnu ;;
+ ppc*) target=powerpc64-unknown-linux-gnu ;;
+ s390*) target=s390-unknown-linux-gnu ;;
+ esac
+ shift
+ continue
+ fi
+
+ if [ "${1#*/configure}" != "$1" ];then
+ configure="$1"
+ shift
+ continue
+ fi
+
+ if [ "$1" = "-s" ];then
+ # -O0 is important to override GCC -O2.
+ debug="-O0 -s"
+ ldflags=""
+ shift
+ continue
+ fi
+
+ break
+done