configure="$1"
shift
fi
+customss="--enable-static --disable-shared"
+if [ "$1" = "--origss" ];then
+ customss=
+ shift
+fi
(
set -ex
rm -f config.cache
export CFLAGS="$flags"
export CXXFLAGS="$flags"
export GCJFLAGS="$flags"
- time nice "$configure" --enable-static --disable-shared --enable-debug "$@"
+ time nice "$configure" $customss --enable-debug "$@"
) 2>&1|tee errs1