Fix the --with-extra-options to use the correct variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29403 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/configure b/configure
index c968525..6d018b8 100755
--- a/configure
+++ b/configure
@@ -3347,11 +3347,11 @@
withval="$with_extra_options"
else
- extraopts=default
+ withval=default
fi;
-case "$extraopts" in
+case "$withval" in
default) EXTRA_OPTIONS= ;;
- *) EXTRA_OPTIONS=$extraopts ;;
+ *) EXTRA_OPTIONS=$withval ;;
esac
EXTRA_OPTIONS=$EXTRA_OPTIONS